How do I use jQuery to take the value someone has typed in to a previous field in to another field on the same form?
How do I use jQuery to take the value someone has typed in to a previous field in to another field on the same form?
Assuming that you want to auto-populate the second field as soon as the person "exits" the first field, this code would do the trick:
You will need to update the #ids to match the inputs on your field.
Thank you very much David :)
Thanks again David but I am struggling a bit with multi page forms. I have form field in step 1 which needs to automatically pre populate a field in step 2. I have been reading about gform_page_loaded but can not seem to get it to work. Can you please shed some light on this process?
Regards,
Jack