Is it possible for users to input values into a form, but then display something different in the PDF? The conversion will be 1-to-1. So, for example, the user may select: Tiro Pants, but the PDF displays: SKU 7090.
January 14, 2025 23:19:29
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,
The easiest way is to use the [e2pdf-format-output] shortcode with the "search" and "replace" attributes.
A related question: is it possible to call on the label of an input rather than the value? I’d like the output to be the label in one cell and the value in another on the same page.
January 16, 2025 00:01:10
E2Pdf
Topics: 7
Messages: 3617
Support
Unfortunately, Forminator doesn't include modifiers to output values or labels separately. However, you can use the [e2pdf-format-output] with its search-and-replace functionality to replace labels with values as an alternative.
January 16, 2025 15:03:53
recuniforms
Topics: 8
Messages: 47
Thank you for your responsiveness. Is it possible to use if statements to use one conversion given a condition and a different condition given a different condition. Here's what I tried:
[e2pdf-format-output
search="Youth XS|||Youth S|||Youth M|||Youth L|||Youth XL|||Adult S|||Adult M|||Adult L|||Adult XL|||Adult 2XL"
replace="{if select-6:1 in ['6001','6006','6007','6010','6011','6012','L025','L036','L040','L043','L044','L045','L049','L051','L052','L056','L059','L060','L062','L066','L067','L1023','L1024','Z108','Z109','Z110','Z111','Z112','Z114','Z115','Z116']}
4XS|||3XS|||2XS|||XS|||S|||L|||2XL|||3XL|||4XL|||5XL
{else}
NOT AVAILABLE|||5XS|||4XS|||3XS|||2XS|||S|||L|||XL|||2XL|||NOT AVAILABLE
{/if}"
]{select-11:1}[/e2pdf-format-output]
Each conversion works well, but it's returning both the if and else outputs.
January 16, 2025 15:26:44
E2Pdf
Topics: 7
Messages: 3617
Support
Unfortunately, no, it would not work in that example. Instead, it should be possible to use the [e2pdf-if] shortcode.
My challenge now is that the second td is looping and acts as it should (so {select-15:1} displays on the first page, {select-15:2} displays on the second page, etc., but ...
The first td is running the conversion as it should, but it's evaluating {select-15:1} on every page and therefore not outputting the correct value on page 2 and beyond. Is there a way to make it so the loop applies to the first td?
January 17, 2025 13:59:48
E2Pdf
Topics: 7
Messages: 3617
Support
We were able to replicate the issue on our side. Our team is currently investigating it, and we will let you know as soon as we have an update. Unfortunately, due to the weekend, it may take until Tuesday / Wednesday to resolve the issue. We apologize for the inconvenience.
January 20, 2025 01:37:54
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,
We have released an update to the RC version 1.27.05, which should resolve the described issue. You can follow the steps outlined here to update: https://e2pdf.com/docs/install#rc-version.
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
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 to our
Cookie Policy.