Hi Mike,
When you say
"I wanted to use a Flash
form and am having trouble displaying the fact that an item should be
checked according to the table ".
Do you mean the database table?
If so you will have to do something like this:
<input type="checkbox" name="types_fixed" value="1"
#IIF(getApple.types_fixed eq "1",DE("Checked=yes"),DE(""))#>SOme Text
Output<br>
<input type="checkbox" name="types_jumbo" value="1"
#IIF(getApple.types_jumbo eq "1",DE("Checked=yes"),DE(""))#>SOme second Text
Output<br>
<input type="checkbox" name="types_construction" value="1"
#IIF(getApple.types_construction eq "1",DE("Checked=yes"),DE(""))#>SOme
third Text Output<br>
or in flash forms like this:
<cfformgroup type="horizontal">
<cfif #getApple.q3# eq "Y">
<cfselect name="q3" label="Do you have experienced Workers?"
width="50"><option value="Y">Yes</option><option
value="N">No</option></cfselect>
cfelse>
<cfselect name="q3" label="Do you have experienced Workers?"
width="50"><option value="N">No</option><option
value="Y">Yes</option></cfselect>
</cfif>
</cfformgroup>
This type of output has to be for each checkbox.
You have an if statement and then you have the two choices for the cfselect
and only one wil be displayed.
Regards
From: "Mike Sumner" <[EMAIL PROTECTED]>
Reply-To: Dallas/Fort Worth ColdFusion User Group Mailing
List<[email protected]>
To: "'Dallas/Fort Worth ColdFusion User Group Mailing
List'"<[email protected]>
Subject: [DFW CFUG] Many Many Checkboxes
Date: Mon, 2 Oct 2006 09:20:30 -0500
I have a table with 49 Yes/No fields - a member profile. I would
appreciate
any suggestions for handling this mess - best way to display it - table,
flash form, etc. and how to handle updating the DB. I wanted to use a
Flash
form and am having trouble displaying the fact that an item should be
checked according to the table <cfinput type="checkbox"...> <cfgrid> works
well, I just need to think about how to make that look good and easy to
navigate - I do not like the thought of a horizontal scroll that wide. If
anyone has an thought I am all ears.
Thanks,
Mike Sumner
Nations Best Sports
817-788-0034 ext 244
817-788-8542 Fax
_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/
_________________________________________________________________
Try the new Live Search today!
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WLMTAG
_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/