Re: OT: Need a Javascript Wizard...

2007-12-18 Thread Rey Bango
Che, I sent you some sample script that should help. It just simply loops through the checkboxes, collects the value of only those that are checked and assigns it to a text field. That should give you something to run with. Rey... Che Vilnonis wrote: > I've got a form with 12-24 dynamic check

RE: OT: Need a Javascript Wizard...

2007-12-18 Thread Che Vilnonis
Charlie, you are correct. That worked. Thanks so much. -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 18, 2007 2:20 PM To: CF-Talk Subject: Re: OT: Need a Javascript Wizard... i've not yet used cfwindow, but the point remains... as far

Re: OT: Need a Javascript Wizard...

2007-12-18 Thread Charlie Griefer
="true" /> > > -Original Message- > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 18, 2007 1:58 PM > To: CF-Talk > Subject: Re: OT: Need a Javascript Wizard... > > why not just name the checkboxes the same? then the action pag

RE: OT: Need a Javascript Wizard...

2007-12-18 Thread Che Vilnonis
Sent: Tuesday, December 18, 2007 1:58 PM To: CF-Talk Subject: Re: OT: Need a Javascript Wizard... why not just name the checkboxes the same? then the action page will contain a comma-delimited list of the checked values. On Dec 18, 2007 10:52 AM, Che Vilnonis <[EMAIL PROTECTED]> wrote: > I

Re: OT: Need a Javascript Wizard...

2007-12-18 Thread Claude Schneegans
>>When a checkbox is checked, its value needs to be passed to a hidden form field (it will become a comma seperated list). When it is unchecked, it needs to be removed from the list. Well, you don't actually need any Javascript to do that. Just give the same name to all your checkboxes, and the

Re: OT: Need a Javascript Wizard...

2007-12-18 Thread Charlie Griefer
why not just name the checkboxes the same? then the action page will contain a comma-delimited list of the checked values. On Dec 18, 2007 10:52 AM, Che Vilnonis <[EMAIL PROTECTED]> wrote: > I've got a form with 12-24 dynamic checkboxes and varying values. When a > checkbox is checked, its value

OT: Need a Javascript Wizard...

2007-12-18 Thread Che Vilnonis
I've got a form with 12-24 dynamic checkboxes and varying values. When a checkbox is checked, its value needs to be passed to a hidden form field (it will become a comma seperated list). When it is unchecked, it needs to be removed from the list. Any ideas how to do something like this? My JS skil