Link to home
Start Free TrialLog in
Avatar of pda4me
pda4me

asked on

Form populate two form fields with one input

I have a scenario where I have a zip_code and billing_zip_code form fields in a form.  How do I autopopulate billing_zip_code with the same data zip_code is entered with initially?
SOLUTION
Avatar of nap0leon
nap0leon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pda4me
pda4me

ASKER

How do I combine this to make it work?

<input type="text" name="zipcode" onkeypress="return numbersonly(event)" id="zipcode" onBlur="showUser(this.value)," onchange="javascript:setzip();"/>
Avatar of pda4me

ASKER

never mind, found the bug!