Add-on: Advanced Merge Tags
The Advanced Merge Tags Add-On for Gravity Forms adds extra Merge Tag modifiers (and a lot of power) to your Forms. From the most common used functions like capitalize and trim to changing date formats and encrypting or retrieving information.
Relative Date Formats in Gravity Forms (gwp_date_format, gwp_date_created, gwp_date_updated)
The Gravity Forms relative date feature in gwp_date_format lets you shift dates with the modify parameter. Use expressions like “+1 week” or “next Monday” and combine with merge tags such as gwp_date_created and gwp_date_updated to display dynamic, timezone-aware dates in confirmations and pages.
gwp_gview_advanced_filter
The gwp_gview_advanced_filter merge tag is designed to dynamically filter entries in GravityViews, leveraging user meta properties that store JSON-encoded arrays of filter values.
gwp_json_get
The gwp_json_get modifier is extracts values from a JSON string stored in a Gravity Forms Field.
gwp_urldecode
The gwp_urldecode can be used to decode url encoded values.
gwp_hash
The `gwp_hash` modifier can be used to generate a hash of a field value with a specified algorithm and an optional salt. This can be useful for comparing data while hiding the actual value.
gwp_generate_token
Generate a random token with customizable attributes like length and character set
gwp_censor
The gwp_censor Merge Tag modifier censors blacklisted words in a string using either a specified character or a fixed-length string.
gwp_calculate
The gwp_calculate Merge Tag returns the result of a calculation formula and formats the number as specified.
gwp_decrypt
Decrypt values that were encrypted using gwp_encrypt.
gwp_user
Allows the dynamic retrieval of user information based on the current logged-in user's properties.
gwp_sanitize
The gwp_sanitize modifier allows you to display sanitized or trimmed values
gwp_eeid
Enables the retrieval of entry properties using the encrypted entry ID (eeid) URL parameter. Intended for use on pages/posts/confirmation messages that are displayed in the browser.
gwp_encrypt
Encrypt entry ids or entry field values using OpenSSL encryption.
gwp_post_id
Returns the post-id for a certain url.
gwp_user_role
Retrieve and display user roles based on a field value with the user's login, email, or ID
gwp_sum_matched_entries_values
The gwp_sum_matched_entries Modifier can be used to calculate the sum of a field value in multiple entries from another form, based on a shared value with optional extra filters.
Replace field merge tags in administrative field's default value
Allows replacement of field merge tags in a text field's value after submission of the form.
gwp_now
Returns the currrent date and / or time or a modified and formatted date / time relative to the current date / time.
Combine regular with advanced modifiers
Combine modifiers like :value with advanced merge tag modifiers.
gwp_url
Returns the WordPress site url, the WordPress home url, the current url, or an element of the current url.
Nested Modifiers
Use multiple, nested modifiers to perform different actions on the Merge Tag value.
Nested Merge Tags
How to use Merge Tag values inside Advanced Merge Tags and Modifiers.
gwp_substring
Retun a substring (part of) the original value and specify where the substring starts and what is the length.
gwp_date_format
Returns a modified date time relative to the date time of a field-value with a date/time string in the desired format.
gwp_append
Append text before and/or after the field value if the value is not empty.
gwp_replace
Search and replace field values
gwp_current_timestamp
Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
gwp_date_updated
Returns a modified date time relative to the date time when the entry was last updated in the desired format.
gwp_date_created
Returns a modified date time relative to the date time when the entry was created in the desired format.
gwp_parent_slug
Returns the slug of one of the parent posts of the current post and let's you pick the depth of ancestor you need.
gwp_reverse
Reverses a text string.
gwp_word_count
Counts the number of words in a string value.
gwp_length
Count the number of characters.
gwp_get_matched_entries_values
Gets styled multiple values from matched active entries.
gwp_urlencode
URL encode the field value to pass it as an url parameter for dynamic population.
gwp_remove_accents
Converts all accent characters to ASCII characters.
gwp_case
Change value to uppercase, lowercase, first character uppercase or lowercase, or uppercase all the words
gwp_get_matched_entry_value
Retrieve values from entries from another form, based on a shared value.
gwp_count_matched_entries
This modifier can be used to count entries from another form, based on a shared value with optional extra filters.