Hi Ricardo,

Yeah thats what I'm upto at the moment or at least my thoughts are up to
that level. I have just been playing around with arrays and putting all
the data into that but i reckon its going to be a pain in the ass.

Interesting on the Checkboxes, and radio stuff. Do you have an example of
this you could show me or is is IP encrypted...hehe.

Its funny, everyone who responded off list and on list...are
saying...whoooa...yucky pucky jeremy....

thanks for your help!!

Jeremy

> jeremy,
> 
> most of our application is based on forms that are generated from a databas=
> e.
> all of the fields are able to have a default value.
> 
> For check boxes, radio groups and selects i pass a list as the default
> value, loop over it to get the options.
> 
> Ricardo.
> 
> 
> 
> On 6/8/05, Jeremy <[EMAIL PROTECTED]> wrote:
> > Hi guys and gals,
> >=20
> > I'm about to attempt building a dynamic form based from a database. I wan=
> t
> > 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.
> >=20
> > If anyone can point me in the right direction that would be nice. Below i=
> s
> > what I have so far. I also played around with Flash vs. XML v-cool.
> >=20
> >=20
> > <cfform name=3D"form" method=3D"POST" format=3D"FLASH"  height=3D"400" wi=
> dth=3D"400">
> >                 <cfformgroup type=3D"accordion">
> >                         <cfformitem type=3D"HTML">Please enter your </cff=
> ormitem>
> >                                                 <cfoutput query=3D"GetInf=
> o">
> >                                                         <cfif #FormRequir=
> ed# IS 1>
> >                                                                 <cfset RV=
> alue =3D "Yes">
> >                                                         <cfelse>
> >                                                                 <cfset RV=
> alue =3D "No">
> >                                                         </cfif>
> >                                                         <cfif #formtype# =
> IS 'CheckBox'>
> >                                                                 <cfformit=
> em type=3D"HTML">#Question#</cfformitem></cfif>
> >                                                         <cfinput type=3D"=
> #formtype#" name=3D"#formname#" value=3D"#formvalue#" label=3D"#FormLabel#"=
>  required=3D"#RValue#" message=3D"Please Check #FormLabel#">
> >                                                 </cfoutput>
> >                                                 <cfinput type=3D"Submit" =
> value=3D"Submit" name=3D"Submit">
> >                         </cfformgroup>
> >                 </cfform>
> >=20
> > jeremy
> >=20
> > ---
> > You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to [EMAIL PROTECTED]
> m.au
> > Aussie Macromedia Developers: http://lists.daemon.com.au/
> >

---
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/

Reply via email to