Answered
Moving from Validation to Submit
I've created my cfform, set validation for pertinent cfinput
fields with custom messages and all is well. Here's my question.
What statement is the best to use to start my cfif block that
executes my cfmail or query code?
I started with ... cfif IsDefined ("form.firstname"), but is the use of cfif IsDefined ("form.SubmitButton.y") a better idea?
Is there a 'best practice' on this type of thing?
Thank you in advance!
PF
I started with ... cfif IsDefined ("form.firstname"), but is the use of cfif IsDefined ("form.SubmitButton.y") a better idea?
Is there a 'best practice' on this type of thing?
Thank you in advance!
PF
