Bear in mind this requires that the user has javascript enabled.
Depending on your target users this may or may not be acceptable

Kola


>> -----Original Message-----
>> From: Suyer, Ed [PRD Non-J&J] [mailto:[EMAIL PROTECTED]
>> Sent: 27 May 2003 16:32
>> To: CF-Talk
>> Subject: RE: FB3 Question Regarding handling Forms
>> 
>> Hey James,
>> 
>> Here's what I do with multi-button forms in FB3:
>> 
>> <cfform name="mainForm">
>> <input type="hidden" name="fuseaction" value="this value is set by
the
>> onclick event of each button">
>> 
>> ...
>> 
>> <input type="submit" name="operation" value="Add"
>>      onClick="javascript: mainForm.fuseaction.value='#XFA.btnAdd#';
if
>> (_CF_checkmainForm(mainForm)){mainForm.submit();}">
>> 
>> <input type="submit" name="operation" value="Delete"
>>      onClick="javascript:
mainForm.fuseaction.value='#XFA.btnDelete#';
>> if
>> (_CF_checkmainForm(mainForm)){mainForm.submit();}">
>> 
>> <input type="submit" name="operation" value="Edit"
>>      onClick="javascript: mainForm.fuseaction.value='#XFA.btnEdit#';
if
>> (_CF_checkmainForm(mainForm)){mainForm.submit();}">
>> ...
>> 
>> </cfform>
>> 
>> This keep me from nesting cases in fbx_switch.  HTH
>> 
>> Ed.
>> 
>> 
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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

Reply via email to