Re: 237 checkboxes

2000-03-30 Thread Seth Petry-Johnson
I think you need to reconsider your form design altogether. I think your HTML page (ie the one with the form) is going to lock up or simply flake out trying to render 237 checkboxes. Not necessarily... I programmed a spreadsheet style form interface once that contained close to 400 form

RE: 237 checkboxes

2000-03-30 Thread jstiefel
e way down the form, and then returning no results?! ;-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 30, 2000 9:41 AM To: [EMAIL PROTECTED] Subject: Re: 237 checkboxes IMHO, it would be a lot simpler to just do them as select boxes w/

RE: 237 checkboxes

2000-03-30 Thread Daniel Murphy
Thanks for everyone's help. Here is how I finally accomplished it. I used a variant of Sean's example: CFLOOP INDEX="field_name" LIST="#form.fieldnames#" cfoutput#evaluate('form.' field_name)#/CFOUTPUT /CFLOOP I gave every check box a name (Q1,Q2,Q3...) -I'm only up to 21

237 checkboxes

2000-03-29 Thread Daniel Murphy
I have search form that contains a large amount of yes/no check boxes -237 to be exact. It is to search the results of a survey that has 237 questions. Only when a checkbox is checked will data be sent from the form. Because of this I need to check if each variable is present. I can create 237

Re: 237 checkboxes

2000-03-29 Thread WBB
Optionally, you can name them all the same, assign them different values...any that are checked will have their values passed as a list. That way you only have 1 CFPARAM to worry about. I have search form that contains a large amount of yes/no check boxes -237 to be exact. It is to search the

RE: 237 checkboxes

2000-03-29 Thread Sean German
H. You could give each checkbox the same name (ex/ yes_no) with incrimental values (1,2,3,...237). The result is a single variable, form.yes_no, to define. The plus side is the result is a list you can just search for the yeses (boxes that were checked). The minus side is the result is a

Re: 237 checkboxes

2000-03-29 Thread Seth Petry-Johnson
I was thinking: Is there a way to create a loop that will run through all the values from the form - creating a query and output for each one. If your questions are all numbered sequentially then this is real easy. Name your checkboxes something like "Question_x" where "x" is the question

Re: 237 checkboxes

2000-03-29 Thread Bud
On 3/29/00, WBB penned: Optionally, you can name them all the same, assign them different values...any that are checked will have their values passed as a list. That way you only have 1 CFPARAM to worry about. I have search form that contains a large amount of yes/no check boxes -237 to be