The gwp_encrypt modifier for Gravity Forms merge tags enables the encryption of field values or any content using OpenSSL encryption. This feature allows for secure transmission or storage of sensitive information.


The basic syntax for the gwp_encrypt modifier is as follows:


Where X is the field ID whose value you wish to encrypt. The encrypted result is URL-safe, making it suitable for use in URLs or web forms without further encoding.


The gwp_encrypt modifier does not require any additional attributes. Its primary function is to encrypt the value of the specified field or content.

Example Usage

  • To encrypt the value of field ID 3: {field:3:gwp_encrypt}
  • To pass an entry by url for use with gwp_eeid, encrypt the id of the entry like this: {gwp_entry:id:gwp_encrypt}

Security Note

While gwp_encrypt provides a layer of security by encrypting content, it is essential to handle the encrypted data carefully.

Additional Information

Encrypted values are returned in a URL-safe base64-encoded format. This ensures compatibility with web forms and URLs without the need for additional encoding steps.

Last updated: 23-04-2024

Advanced Merge Tagsv1.4

To use the functionalities described in this documentation, you'll need to get the GravityWP - Advanced Merge Tags add-on.

Read more