Forums

Passing a new value to a hidden field.

davidgarcia0001 30 Jul, 2013
I have been trying to figure a simple way to pass 2 variables to 2 hidden fields through the URL. I have successfully passed the variables using a URL. But I have not been able to change the hidden fields values. It looks like I can do it using a JS but I would prefer to use PHP. Any suggestions would help.

Link to form with attached variables.
http://utahs-best.com/index.php?option=com_chronoforms&tmpl=component&chronoform=Contact_Bus&bsname=Test&bsemail=test@test.com
GreyHead 31 Jul, 2013
Hi davidgarcia0001,

ChronoForms will automatically add the values to the $form->data array so if you add form inputs with the names bsname and bsemail then the values should be inserted for you.

Bob
This topic is locked and no more replies can be posted.