Copy link to clipboard
Copied
For the first time I'm using CFFORMGROUP and it is the perfect solution to my many forms for users to fill in. Using cfformgroup I created 4 tabs and each has a form with its required fields. The problem is, when I tested the pop up window without filling in all the required form fields, the pop up window freeze up my screen. There nothing I can do but log out and log back in. When clicking the submit button, the pop up windows shows all the required fields from all four tabs instead of showing just the required fields from one selected tab. Maybe there are too many to show at once? is this a bug or I did it wrong? I googled and can't find too many posting about
<cfform name="TestForm" method="post" action="TEST.CFM" width="650" height="820" format="Flash">
<cfformgroup type="tabnavigator" style="marginTop:0; background-color:##EFEFEF;">
<cfformgroup type="page" label="Registration 1">
<cfoutput query="RegDetails">
<cfinclude emplate="Forms/Reg1form.cfm">
</cfoutput>
</cfformgroup>
<cfformgroup type="page" label="Registration 2">
<cfoutput query="RegDetails">
<cfinclude template="Forms/Reg2form.cfm">
</cfoutput>
</cfformgroup>
<cfformgroup type="page" label="Registration 3">
<cfoutput query="RegDetails">
<cfinclude template="Forms/Reg3form.cfm">
</cfoutput>
</cfformgroup>
<cfformgroup type="page" label="Registration 4">
<cfoutput query="RegDetails">
<cfinclude template="Forms/Reg4form.cfm">
</cfoutput>
</cfformgroup>
</cfformgroup>
<cfformgroup type="horizontal">
<cfinput type = "submit" name="SubmitOrder" width="100" value = "Show Results">
<cfinput type = "reset" name="reset" width="100" value = "Reset Fields">
</cfformgroup>
</cfform
Copy link to clipboard
Copied
Do you really need the cfoutput tags? Could you show us the code of the templates that you include?