AlwaysWilling
Programmer
Hello. In the past when I wanted to pre-populate the form fields the user entered I did <cfif isdefined("FORM.fieldName")>#FORM.fieldName#</cfif>, but I got to know that this doesn't work when you use cflocation tag. So how else I can re-populate the user's answers on the form?
My scenario is:
1. user fills out form
2. user submits form (leaving one required field blank)
3. i do server-side validation, like check if the email field is in an email syntax, etc. if the additional criteria fails i do a cflocation back to the form.
And, its here that I want the fileds to be populated. Is this possible? How?
My scenario is:
1. user fills out form
2. user submits form (leaving one required field blank)
3. i do server-side validation, like check if the email field is in an email syntax, etc. if the additional criteria fails i do a cflocation back to the form.
And, its here that I want the fileds to be populated. Is this possible? How?