Hello guys,
Only a small question and i'm really after your opinions more than anything else.
When dealing with forms such as 'contact forms' or forms for 'submitting articles' and suchlike, do you use 2 seperate files such as form.cfm and formprocess.cfm or do you contain them within a single file and use somthing like CFIF to determine if the form has been submitted and then process the database and mail transactions?
Personally untill this point i've always contained them within a single file and used the CFIF, can anyone present a reason as to why you shouldn't do this?
Thanks,
Rob
Only a small question and i'm really after your opinions more than anything else.
When dealing with forms such as 'contact forms' or forms for 'submitting articles' and suchlike, do you use 2 seperate files such as form.cfm and formprocess.cfm or do you contain them within a single file and use somthing like CFIF to determine if the form has been submitted and then process the database and mail transactions?
Personally untill this point i've always contained them within a single file and used the CFIF, can anyone present a reason as to why you shouldn't do this?
Thanks,
Rob