Welcome Guest, Not a member yet? Register   Sign In
Validation: Formatting Fields
#1

[eluser]BrandonDurham[/eluser]
I have a "Daytime Phone" field in my form that I'm validating for length and content regardless of how they enter it. The function I'm using also formats the string to be "(555) 555-5555". I'd like to be able to update that form field with the formatted version once it's been checked. How might I do that?

Thanks!
#2

[eluser]BrandonDurham[/eluser]
Well hell.
Code:
$_POST['daytime_phone'] = $tmp;
worked fine.




Theme © iAndrew 2016 - Forum software by © MyBB