>Evening,
>
>I have to submit a cfform with an input type of "button", not submit. The 
>cfform has a button which will delete the record displayed but I needed to 
>put a warning alert up.
>
>Anyhow, I need to be able to tell the value of the button, the same thing as:
>
><cfif isdefined('form.submit')>
><cfif form.submit eq 'Save'>
>cfc call here
></cfif>
></cfif>
>
>but, using an input of type "button".
>
><cfinput type="button" name="buttonDelete" value="Delete" />
>
>How can I tell the value of this button on the action page?
>Thanks,
>Kiley

it should be form.buttonDelete with a value of Delete. If any form object is 
named it goes into the form scope.

You can always use the cfdump with the form scope to see what's in there.

hth,

larry

--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
email: llyons(at)atcc(dot)org
tel: 703.365.2700.2678
--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224962
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to