waderironman
Programmer
- Nov 17, 2007
- 1
Hi,
I am reading up on ColdFusion and I have a good idea about how cfforms work. For instance, I know that if I set validateAt to 'onSubmit' on a cfinput tag, ColdFusion will automatically create JavaScript to validate the form client side. So upon the form being passed to the server, ColdFusion will add an onsubmit event handler to the form. My question is this: if I set validateAt to 'onServer', will ColdFusion add an onsubmit event handler to the form? A follow up question is if I create and set an onsubmit validate form function manually, and ColdFusion adds an onsubmit event handler due to the validateAt tag of a cfinput, will my manual onsubmit validate form function call be overwritten? Thanks in advance for any help.
I am reading up on ColdFusion and I have a good idea about how cfforms work. For instance, I know that if I set validateAt to 'onSubmit' on a cfinput tag, ColdFusion will automatically create JavaScript to validate the form client side. So upon the form being passed to the server, ColdFusion will add an onsubmit event handler to the form. My question is this: if I set validateAt to 'onServer', will ColdFusion add an onsubmit event handler to the form? A follow up question is if I create and set an onsubmit validate form function manually, and ColdFusion adds an onsubmit event handler due to the validateAt tag of a cfinput, will my manual onsubmit validate form function call be overwritten? Thanks in advance for any help.