Documentation

gwp_replace

With the gwp_replace Merge Tag Modifier for Gravity Forms you can search and replace parts of the field value before outputting it to the screen.

:gwp_replace search= replace=

If you want to change the output of a Merge Tag text, use the Modifier like this:

ExampleModifierOutput
{Example:1} GravityWP
{Example:1:gwp_replace search=”ravity” replace=”RAVITY”} :gwp_replace search=”ravity” replace=”RAVITYGRAVITYWP
{Example:1:gwp_replace search=”WP” replace=” Forms”}:gwp_replace search=”WP” replace=” Forms”Gravity Forms

Try it

Last updated: 04-04-2022

Advanced Merge Tagsv1.1

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

Read more

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close