On 9/5/07, Joe Lakey wrote: > > I always include in my forms a hidden field named "form_submitted": > > <form name="formAddUser" action="#CGI.script_name#" method="post"> > <input type="hidden" name="form_submitted" value="formAddUser"> > ....
I'll do something similar, but I only define the hidden fields if I want the "save event" to fire. So I can use the same code to add a phone number by someone clicking on the "savePhone" button, or I can add the hidden field when they don't get the option (like on the initial "add person" screen, which requires at least one phone number, but can have many). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287914 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

