gwp_case
With the gwp_case Merge Tag Modifier for Gravity Forms you can easily change the text value to uppercase, lowercase, first character uppercase, first character lowercase or uppercase all the words.
:gwp_case to=upper|lower|lower_first|upper_first|upper_words
Examples
If you want to change the output of a Merge Tag text, use the Modifier like this:
Example | Modifier | Output |
---|---|---|
{Example:1} | GravityWP | |
{Example:1:gwp_case to=upper} | :gwp_case to=upper | GRAVITYWP |
{Example:1:gwp_case to=lower} | :gwp_case to=lower | gravitywp |
{Example:1:gwp_case to=lower_first} | :gwp_case to=lower_first | gravityWP |
{Example:2} | gravitywp add-on | |
{Example:2:gwp_case to=upper_first} | :gwp_case to=upper_first | Gravitywp add-on |
{Example:2:gwp_case to=upper_words} | :gwp_case to=upper_words | Gravitywp Add-on |
Last updated: 03-12-2022