plain-solutions-gmbh / kirby-form-block-suite

This form plugin for Kirby offers you maximum flexibility and usability. It can be used as a block anywhere you needed. This repository replaces the obsolete version 2.0.
Other
38 stars 11 forks source link

Enhancement: Ability to prefill fields from query string #57

Closed purplespider closed 1 month ago

purplespider commented 1 month ago

This PR allows prefilling form fields from the page's query string.

For example, if you have a contact us button on a particular service page, you could prefill the service name into the form by linking to the form as so: https://example.com/contact-us?service=Bananas

Or if linking to a form from a bulk email, you could pre-fill the person's name and email address: https://example.com/contact-us?name=Joe Bloggs&email=joe@example.com