Here is the added validation on the form page:
<input type="hidden" name="form.OldSSN_cfinteger" value="SSN field must contain numbers only> ... <input type="hidden" name="form.NewSSN_cfinteger" value="SSN field must contain numbers only>
Here is the existing Replace() code on the action page:
<cfset form.OldSSN = Replace(form.OldSSN, "-", chr(0), "ALL")> <cfset form.NewSSN = Replace(form.NewSSN, "-", chr(0), "ALL")>
And the new Replace() code added after the above:
<cfset form.OldSSN = Replace(form.OldSSN, chr(32), chr(0), "ALL")> <cfset form.NewSSN = Replace(form.NewSSN, chr(32), chr(0), "ALL")>
Thanks again.

New Topic/Question
Reply




MultiQuote





|