Pre-Fill forms from URL parameter in Multi-Purpose form Generator:
Multi-Purpose Form generator supports prefilled forms based on URL parameters, this feature is available from version 4.3
Steps to generate URL to pre-fill form values:
- Go to the edit form for which you want to generate the URL.
- In edit from click on the form field which you want to be prefilled.
- Copy the Form-Name value (check screenshot above)
For example, if the form URL is: https://form-generator.ultimatefosters.com/forms/test-1gv
The new URL which will pre-fill a field with name field_2 will be
https://form-generator.ultimatefosters.com/forms/test-1gv?field_2=value
Similarly, if there are multiple fields having names like
https://form-generator.ultimatefosters.com/forms/test-1gv?field_2=value&anotherField=someValue&onemorefield=AnotherValue
In technical terms we’ll need to pass the value as key-value pair in get parameter