>>Can you describe using an onclick event a little more? Here is a example: <SCRIPT> function validateForm(b) { var NewInput = document.createElement("input" ); NewInput.setAttribute('name','validateForm'); NewInput.setAttribute('type','hidden'); b.form.appendChild(NewInput); b.form.submit(); } </SCRIPT> <FORM ACTION="actionTemplate.cfm" METHOD="post"> <INPUT TYPE="button" VALUE="Submit this form" onClick="validateForm(this)"> < This is a "human" Submit button<BR> <INPUT TYPE="submit" VALUE="Robot submit"> < This one simulates what a robot would do </FORM>
And in actionTemplate.cfm: <CFIF isDefined("form.validateForm")>This submit came from a human <CFELSE>This one comes from a bot </CFIF> <CFDUMP var="#form#"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348109 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm