Hi there,
I've just looked quickly through the cookbook and the answer wasn't obvious. I need to be able to email to a user a url that contains information for partial completion of a form and then have them fill in the rest of the details.
Can someone please point me in the direction of some instructions (or a sample form) as to how I can read parameters passed to the form in the url?
Thanks
Paul
I've just looked quickly through the cookbook and the answer wasn't obvious. I need to be able to email to a user a url that contains information for partial completion of a form and then have them fill in the rest of the details.
Can someone please point me in the direction of some instructions (or a sample form) as to how I can read parameters passed to the form in the url?
Thanks
Paul
Hi Paul,
ChronoForms v4 will automatically read the URL and copy and parameters in it into the $form->data array. The Show HTML action will then populate any form inputs with matching names with these values.
Bob
ChronoForms v4 will automatically read the URL and copy and parameters in it into the $form->data array. The Show HTML action will then populate any form inputs with matching names with these values.
Bob
Thanks Bob.
Can I use the parameter passed to retrieve a record from the database and display it on the form, or does it happen once the form is already loaded and formatted.
(apologies if that's a basic html/php question - can you tell I'm from the desktop world?)
Many thanks
Paul
Can I use the parameter passed to retrieve a record from the database and display it on the form, or does it happen once the form is already loaded and formatted.
(apologies if that's a basic html/php question - can you tell I'm from the desktop world?)
Many thanks
Paul
Hi Paul,
Yes absolutely, that's how the DB Record Loader is set up to work.
Bob
Yes absolutely, that's how the DB Record Loader is set up to work.
Bob
Great!
Thanks again, will give it a go.
-p
Thanks again, will give it a go.
-p
This topic is locked and no more replies can be posted.