Secure your petitions with SpeakOut! Pro's new Cloudflare Turnstile integration.

See Pro Features

Include user fields in petition message

It is possible to include some user input fields in the petition message. You will find a list of available fields under the petition message when editing the petition.

The current fields that can be included are

  • %honorific%
  • %first_name%
  • %last_name%
  • %address%
  • %city%
  • %state%
  • %postcode%
  • %country%
  • %custom1%
  • %petition_title%
  • %confirmation_link%

They are all sanitized using the PHP strip_tags() function to prevent users inputting code, malicious or otherwise.

IMPORTANT: If you are including these fields in the petition message, it is advisable to make them required fields otherwise if they aren’t filled out by the user, they will be empty and it may look odd. Imagine the example below if any of them are empty.

Example: Dear Mayor, my name is %first_name% and I live at %address%, %city%, %postcode%. The current situation in %country% needs attention. Particularly %custom1%. Thank You, signed %first_name% %last_name%.