It is possible to populate a field with the value of a query string parameter using the WS Form variable.
To do this:
- Click the field settings icon to open up the settings sidebar. We recommend using a text field or hidden field for this purpose but you can use it on any field type that has a ‘Default Value’ setting.
- In the ‘Default Value’ setting, add the following:
#query_var("parameter")where ‘parameter’ is the query string parameter you would like to populate the field with.
- Click ‘Save’.
WS Form will now populate that field with the query string parameter you chose.
An example of how to set this up for a text field is shown below.