I'm trying to pre-populate 2 fields on a form from a set of URL Parameters - they are set as hidden fields so do not need to be entered by the user.
The idea is that we provide a link to our customers via email, the simply click on it, fill in the rest of the form and then submit it to us, but it means they do not need to remember their client number or a case reference number
This is what our URL would look like:
http://www.mydomain.com/index.php?option=com_chronocontact&chronoformname=ClientSurvey&CLINO=33359&CASENO=56333
What code do I need to put into our form so that it will read the parameters from the URL and place these into the hidden fields when the user clicks on Submit?
Many thanks
The idea is that we provide a link to our customers via email, the simply click on it, fill in the rest of the form and then submit it to us, but it means they do not need to remember their client number or a case reference number
This is what our URL would look like:
http://www.mydomain.com/index.php?option=com_chronocontact&chronoformname=ClientSurvey&CLINO=33359&CASENO=56333
What code do I need to put into our form so that it will read the parameters from the URL and place these into the hidden fields when the user clicks on Submit?
Many thanks