You'll need to set up a separate form outside your main form, and change
your checkbox to something like this:

<input type="checkbox" name="remove" value="#ThisVal#"
onclick="javascript:document.otherform.remove.value=this.value;document.othe
rform.submit();" />

HTH,
barneyb

> -----Original Message-----
> From: "Owens [mailto:"Owens]
> Sent: Thursday, February 13, 2003 5:04 PM
> To: CF-Talk
> Subject: OT: JavaScript: using Submit()
>
>
> I'm trying to do something like this:
>
> <input type="checkbox" name="remove" value="#ThisVal#"
> onclick="javascript:
> submit('form.action=index.cfm?action=remove');">
>
> But that's not working.
>
> Basically, I have this check box in the middle of a form that
> sort of needs
> to behave like a form within a form.  If the checkbox is clicked, I want
> that form to get submitted as that checkbox serving as a single form
> element.
>
> H.
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Howard Owens
> Internet Operations Coordinator
> InsideVC.com/Ventura County Star
> [EMAIL PROTECTED]
> AIM: GoCatGo1956
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to