Yes...they have to be able to submit the form with no data. The application is a "configurator", which allows the user to configure a machine. The user is not required to configure all of the components of a machine--which are handled by the form.
Thanks, Brad > I don't know about fixing your problem, but you don't want people to > submit an empty form anyway, do you? You can use the validation in > the > CF form fields (cfinput, cfselect, etc.), or build your own JS > validation...anything to make sure the data you need is there (and > valid) before the form is submitted. > > > -----Original Message----- > > From: Brad Haas [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 30, 2005 2:10 PM > > To: CF-Talk > > Subject: Form Scope Problems > > > > I'm having a really hard time with losing the form scope > > variables on CFMX 7. I have a pretty simple form that posts > > to a CF page. The form contains a couple of radio buttons > > and a select box. The select box name is dynamically > > generated, but it shows correctly when I view the page source > > from the browser. > > > > On the page that processes the form, I check for a certain > > form variable. If the variable is defined--I output the > > variable. Pretty simple stuff, but it is really giving me a > > headache. If the form is submitted without selecting > > anything...the form field is missing. If I select anything > > on the form and submit it, the form variable magically > > appears. I'm not sure if anyone can replicate this, but here > > are the steps you can to to try. > > > > (1) Create a form that posts to a second CF page. > > (2) Add two radio buttons to the form with the same name. > > (3) Add a select field to the form with a unique name and a > > few options (including one with value=""). > > > > (4) On the processing page check to see if the select field > > is defined and dump the form variable. > > > > I've been researching this (via Google Groups, MM, etc.) for > > the past few hours and have seen similar problems with no > > solution. Some things to note: > > > > * I've ensured that the form completly loads--so missing form > > data is not the problem. > > > > * I used the LiveHTTP headers extension for Firefox, and it > > shows that the form fields are being passed in every instance. > > > > * The form data only disappears when I select nothing on the > > form before it is submitted. > > > > * I don't think radio buttons are passed unless they are > > selected, but the select box is passed--even with an empty value. > > > > * I can replicate the problem with FF and IE. > > > > I look forward to hearing everyones thoughts. > > This transmission may contain information that is privileged, > confidential and/or exempt from disclosure under applicable law. If > you are not the intended recipient, you are hereby notified that any > disclosure, copying, distribution, or use of the information contained > herein (including any reliance thereon) is STRICTLY PROHIBITED. If you > received this transmission in error, please immediately contact the > sender and destroy the material in its entirety, whether in electronic > or hard copy format. Thank you. A1. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225776 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

