Hi Team,
Using Gravity Forms we have a checkbox that users can multi select options.
For basic template mapping, we can display this field by mapping this value as = {:2324}
And in the PDF this is automatically displayed with a comma separated list of checked options like: Broken, Corroded
Now in our form we have added an "Other" option to the 2324 checkbox field, and a new text field 2325 as an other text input.
What we would like to do in the PDF, is if user has checked 'Other' option in 2324, and entered text in 2325, then replace the Other text in PDF with what the user entered in 2325.
e.g. instead of showing this in PDF: "Broken, Corroded, Other"
Show this instead (user entered 'Cracked' in 2325): "Broken, Corroded, Cracked"
I tried different actions and conditions in the mapping in template, but could not get the desired result.
The closest I got working was to append the 2325 field, with an action like this:
Action = Change Property
Property = Value
Value = : {:2325}
Format = Insert After
IF = {:2325} != (nothing)
And this works by displaying this in PDF: Broken, Corroded, Other: Cracked
Ideally we want: Broken, Corroded, Cracked
I tried an action of changing property value with format search and replace, but could not get that to work.
Any tips of the correct action and formatting to use to achieve this?
Thanks
27 June, 2025 01:55:30
E2Pdf
Support
Topics: 7
Messages: 3573
Hello,
Unfortunately, the Search/Replace function currently works with pre-rendered values only. We will consider extending it to support post-rendered values in the future.
In the meantime, you should be able to use the fully replaced value directly:
Just a quick note - we’ve just released an update to the latest RC version (1.29.16): https://e2pdf.com/docs/install#rc-version. This update includes the ability to change the values in the rendered output.
We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according our to our Cookie Policy.