Avatar of Robert Granlund
Robert Granlund
Flag for United States of America

asked on 

PHP or jQuery to populate hidden field

PHP or jQuery in a form.  I am working on something that was coded a long time ago. There is a registration form that takes your first, last and email.  They want to integrate a mailing list manager and need to pass, first_name, last_name and email in the form.  However, the form has customer_first_name, customer_last_name and customer_email.  I can not change the form names because they are used all over the place in the code.  Is there a way to create a hidden input field that will auto populate with the first name, last etc...  so that the form fields are there for the email mailing list  api?
PHPjQuery

Avatar of undefined
Last Comment
Chris Stanyon

8/22/2022 - Mon