How to get my forms prefilled? Prefill a form

What does webform prefilling do exactly?

Your Impact Stack forms will remember your details, if you already provided them once. They get saved in the session storage of your browser (that's not the same as a cookie) but some really old browsers might not support it.

What funny things can you do with it?

Beside the obvious advantage that your supporters don't need to re-type their details if they take part in more than one action, you can do fancy little things like this…

You could ask supporters on the thank-you-page to subscribe to your newsletter just with a checkbox and a submit button. Do this by creating a flexible form and set it as the thank-you-page via thank-you-page redirects. On the flexible form hide the name and email fields and just set the newsletter checkbox to visible. The hidden name and email fields will get prefilled with the supporters details.

Can I exclude certain form fields from getting prefilled?

If you want certain fields to not be prefilled, there is a CSS class that you can add to the form field via the "Display" tab, on the form step when editing the action: webform-prefill-exclude

There is also its counterpart: webform-prefill-include

 

Further read:

On the More Onion blog

 

Have more questions? Submit a request