coldfusion flash integration:
//Hello, I'm trying to use this tabbed flash form with coldfusion. I keep getting an error that I don't understand, can some one help? This is the error that I get when I try to test the page in my browser:// Error Diagnostic Information Attribute set validation error in tag CFINPUT The tag has an invalid attribute combination: the value of the tag switch attribute 'TYPE' which is now 'SUBMIT' is invalid. The valid attribute values are * TEXT * PASSWORD * CHECKBOX * RADIO The error occurred while processing an element with a general identifier of (CFINPUT), occupying document position (67:1) to (67:60). The specific sequence of files included or processed is: /vservers/infadesign/htdocs/flash_form.cfm Date/Time: Sun Aug 6 21:23:10 2006 Browser: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6 Remote Address: 69.86.223.0 // here is the actual cf form code:// <cfform format="flash" skin="haloblue" width="500" height="600" action="file:///Macintosh HD/Users/infadesign/Desktop/F00B5 Folder/flash_form.cfm"> <!--- set the form to have tabs ---> <cfformgroup type="tabnavigator"> <!--- set the page value - give the tab a label ---> <cfformgroup type="page" label="Personal Details"> <!--- Set the form alignment ---> <cfformgroup type="horizontal"> <!--- Open the first tabs contents ---> <cfinput name="FirstName" type="text" label="First Name" width="60" /> <cfinput name="LastName" type="text" label="Last Name" width="60" /> <cfinput name="Gender" type="text" label="Gender" width="60" /> <!--- close the first tabs contents ---> </cfformgroup> <!--- close the first tab ---> </cfformgroup> <!--- Second tab set ---> <cfformgroup type="page" label="Age"> <cfformgroup type="horizontal" label="Preferred Partner"> <cfinput name="Age" type="radio" label="18-30" value="18-30" /> <cfinput name="Age" type="radio" label="31-40" value="31-40" /> <cfinput name="Age" type="radio" label="41 and over" value="41 and over" /> <cfinput name="Age" type="radio" label="Just give me jojo" value="just give me jojo" /> </cfformgroup> </cfformgroup> <!--- Third tab set ---> <cfformgroup type="page" label="Contact Details"> <cfformgroup type="horizontal"> <cfinput name="eMail" type="text" label="Email" width="60" /> <cfinput name="telephone" type="text" label="Telephone" width="60" /> <cfinput name="FaxNumber" type="text" label="Fax" width="60" /> </cfformgroup> <!--- Begin Binding ---> </cfformgroup> <cfformgroup type="page" label="Done"> <cfformgroup type="horizontal"> <cfformitem type="text" name="FirstName" bind="Name: {FirstName.text}"> </cfformitem> <cfformitem type="text" name="LastName" bind="{LastName.text}" style="text-align: left;"></cfformitem> <cfformitem type="text" name="Gender" bind="Gender: {Gender.text}"></cfformitem> </cfformgroup> <cfformgroup type="horizontal"> <cfformitem type="text" name="Age" bind="Preferred Partner: {Age.selectedData}"></cfformitem> </cfformgroup> <cfformgroup type="horizontal"> <cfformitem type="text" name="eMail" bind="Email Address: {eMail.text}"></cfformitem> </cfformgroup> <cfformgroup type="horizontal"> <cfformitem type="text" name="telephone" bind="Tel No: {telephone.text}"></cfformitem> <cfformitem type="text" name="FaxNumber" bind="Fax No: {FaxNumber.text}"></cfformitem> </cfformgroup> <cfinput type="submit" name="submit" value="Send Details" /> </cfformgroup> <!--- Close the tabnavigator ---> </cfformgroup> </cfform>
Hi- I copied your form code and submitted the variables back to that page, and got no error, for what that's worth. My guess is that the prob. might be in the page you're submitting to rather than in the form itself?
The only thing I see is that you have multiple controls with the same name. FirstName, LastName.
Don't see what you're looking for? Try a search.
|