Hi,
I have a form that I submit back to itself. How can I check in my form template what
input box was selected?
I would need a check here to see wchich of the below inputs was clicked on. I've left
out the JS also.
<cfif if INPUT FIELD IS SOMETHING>
Do this...
<cfelse
DO this...
</cfif>
<form action="actDirectoryUpdate.cfm?varAnchor=books" method="post">
<input type="button" value="Select All" name="Select_All_OMITDIR"
OnClick="SelectAll('Omit');">
<!--- This will UNCHECK all elements that are to be OMITTED --->
<input type="button" value="Clear All" name="Clear_All_OMITDIR"
OnClick="ClearAll('Omit');">
<!--- This will UPDATE the database --->
<input type=submit name=submit value="Update">
</form>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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