Hi guys and gals,
I'm about to attempt building a dynamic form based from a database. I want
to make it as simple as possible for both user and my brain. Has anyone
done such a thing. My issue so far is being radio boxes and check boxes.
If anyone can point me in the right direction that would be nice. Below is
what I have so far. I also played around with Flash vs. XML v-cool.
<cfform name="form" method="POST" format="FLASH" height="400" width="400">
<cfformgroup type="accordion">
<cfformitem type="HTML">Please enter your </cfformitem>
<cfoutput query="GetInfo">
<cfif #FormRequired# IS
1>
<cfset RValue =
"Yes">
<cfelse>
<cfset RValue =
"No">
</cfif>
<cfif #formtype# IS
'CheckBox'>
<cfformitem
type="HTML">#Question#</cfformitem></cfif>
<cfinput
type="#formtype#" name="#formname#" value="#formvalue#" label="#FormLabel#"
required="#RValue#" message="Please Check #FormLabel#">
</cfoutput>
<cfinput type="Submit"
value="Submit" name="Submit">
</cfformgroup>
</cfform>
jeremy
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/