This Gravity Forms Add-On adds extra Merge Tag modifiers (and a lot of power). From the most common used functions like capitalize and length to changing date formats.
= 1.4.3 =
- Improved security by applying wp_kses_post on gwp_get_matched_entries_values output.
- Added support for textual separators in gwp_get_matched_entries_values output. New parameters: row_separator and col_separator.
- Added support for a no-result message in gwp_get_matched_entries_values output. New parameters: no_result.
- Fixed a bug in gwp_get_matched_entries_values where the row_tag parameter was used for the row class.
= 1.4.2 =
- Added the 'gwp_amt_replace_admin_field_variables' filter to allow conversion of field merge tags in administrative field's default value, for other field types than 'text'.
= 1.4.1 =
- Fix compatibility issue with GP Populate Anything Live Merge Tags, where nested merge tag modifier arguments are passed with html encoded quotes.
= 1.4 =
- Feature: Implemented support for regular GF modifiers after the advanced modifier. Example {DropdownSelect:1:gwp_substring:value start=1 length=2}.
- Feature: It is now possible to use {DropdownSelect:1:gwp_substring start=-3} in calculations. This will use the last 3 characters from a value like 'first_choice_1.4'.
- Feature: Added gwp_url merge tag.
- Performance improvements.
= 1.3 =
- Feature: Added gwp_generate_token merge tag.
- Feature: Added gwp_now merge tag.
- Feature: Added gwp_sum_matched_entries_values modifier, which allows to add up numeric values from a field for a large batch of entries.
- Feature: it is now possible to use {text:1:gwp_word_count} in calculations.
- Fix fatal error when gwp_date_created and gwp_date_updated merge tags are used before the entry was created.
= 1.2.4 =
- Update dependencies to fix a security issue in a third party library.
= 1.2.3 =
- Added support for use of the gwp_word_count merge tag modifier with tinymce/RTF textarea fields.
= 1.2.2 =
- Fix nested merge tags within gwp_append and gwp_replace modifiers not working properly.
= 1.2.1 =
- Improvement: gwp_urlencode modifier now supports checkboxes.
= 1.2 =
- Added gwp_substring modifier.
- Added gwp_date_format modifier. This deprecates the gwp_date_field merge tag.
- Added support for using nested merge tags within merge tags with search filters, like filter1=created_by operator1=is value1=*|user:ID|*.
- Search filters with invalid operators are now ignored.
- Added support for using nested merge tags within gwp_date-* merge tags and modifiers like modify='+*|number of weeks:2|* weeks'.
- Added support for using nested merge tags within gwp_append and gwp_replace modifiers like {Textarea:1:gwp_replace search='VARIABLE' replace='*|text:2|*'}.
- Added plugin setting to replace field merge tags like {field:1} in text fields with administrative visibility after an entry is submitted.
- Fix subfield values not working with advanced merge tags modifiers.
- Apply newline to <br> conversion when outputting to html context.
- Reworked the method for gwp_word_count modifier as str_word_count() does not work as expected in various cases. Words are now counted based on separator characters. By default: Any whitespace character (spaces, tabs, line breaks).
- Added 'gravitywp_advancedmergetags_wordcount_regex' and 'gravitywp_advancedmergetags_wordcount_result' filters.
- Added required argument checks for gwp_datefield merge tag / modifier.
- Improved handling of missing empty arguments in gwp_get_matched_entries_values and gwp_datefield modifier.
- Security improvements.
= 1.1.1 =
* Fix issue when using timezone argument.
= 1.1 =
- Added support for Merge Tag modifiers with case sensitive arguments.
- New Merge Tag modifier: gwp_append - Append a string before or after a non-empty value.
- New Merge Tag modifier: gwp_replace - Search and replace a value before output.
- Fix some PHP notices.
= 1.0 =
All new!
Paddle Checkout - Advanced Merge Tags
Subtotal:
Tax:
Total:
Renewal price:
$39.00 (ex VAT)
Handy extra Modifiers
Text transform Modifier to transform the text to uppercase, lowercase, first character uppercase or lowercase or uppercase all words.
Append and prepend Place text before or after the output of a Merge Tag.
Text replace Replace text in the Merge Tag output.
Length of string& word count Modifiers to count the number of characters of a value or the number of words.
Covert to ASCII characters Modifier to change the accented letters inside a text.
URL encode text Encode the field value with the purpose to pass it as an url parameter for dynamic population.
Get field values from other Forms Retrieve matching data from other Forms, show and use the retrieved data in different ways.
Nested Merge Tags Use values from other fields in your form inside Merge Tags and Modifiers.
Powerful new Merge Tags
Get the current timestamp Returns the timestamp on the moment the Merge Tag is used. Can be used to check if timestamp is expired.
Get the current slug (or part of the slug) Returns the slug or part of the slug (parent) for example to check which part of the website the Merge Tag is loaded.
Modify dates Modify dates, like adding days, weeks (relative dates), formatting in different ways and setting other timezones.
Nested Modifiers Use multiple, nested modifiers to perform different actions on the value.
Screenshot with examples of Advanced Merge Tags & Modifiers inside a Gravity Forms Confirmation.
Examples of extra Modifiers
Value
Modifier
With modifier
Café Entrepôt Façade
{Text:1:gwp_remove_accents}
Cafe Entrepot Facade
“Quotes” and spaces
{Text:1:gwp_urlencode}
%22Quotes%22%20and%20spaces
GravityWP Advanced Merge Tags
{text:1:gwp_length}
29
GravityWP Advanced Merge Tags
{Text:1:gwp_word_count}
4
GravityWP
{Example:1:gwp_case to=upper}
GRAVITYWP
GravityWP
{Example:1:gwp_case to=lower}
gravitywp
GravityWP
{Example:1:gwp_case to=lowerfirst}
gravityWP
GravityWP
{Example:1:gwp_substring length=3}
Gra
GravityWP
{Example:1:gwp_substring start=3 length=3}
vit
GravityWP
{Example:1:gwp_append before=“Wow, “ after=" is great"}
Your last two purchases were at {Textfield:1:gwp_get_matched_entry_value form_id="2" match_id="1" return_id=date_created sort_order=desc offset=1} and at {Textfield:1:gwp_get_matched_entry_value form_id="2" match_id="1" return_id=date_created}.
Your last two purchases were at 2021-01-30 12:21:23 and at 2021-04-30 10:01:03.
client-1003
You bought a total of {Textfield:1:gwp_count_matched_entries form_id="2" match_id="1" filter1="3" operator1="is" value1="vacuum_cleaner"} vacuum cleaners.
You bought a total of 2 vacuum cleaners.
Extra Merge Tags
Merge Tag
Description
Example output
{gwp_current_timestamp}
Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
1644224045
{gwp_parent_slug depth="1"}
Returns part of the slug (the url) and let’s you pick which part of the slug you want to get (which parent).
Returns the entry date + 1 day in a specific format.
31-03-2021 12:21:23
Take a look at our documentation for more advanced Merge Tags and Modifiers.
Refund Policy Within 30 days of your initial purchase, you are entitled to a complete refund with no hassle. In order for us to improve our Add-ons, we do ask that you provide a good justification and feedback for your request for a refund.
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.