Capitalise created pdf

February 07, 2024 08:06:11
Topics: 4
Messages: 19
Hi , is there a way to capitalise all form input when creation a pdf ?
February 07, 2024 08:07:05
Topics: 4
Messages: 19
this is created with forminator forms
February 07, 2024 08:34:23
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,

Can you please clarify, if you need to capitalize just ALL entry data from Forminator Forms? Or there must be capitalized any value placed inside the E2Pdf Template?

We would really appreciate your feedback at WordPress.org!
February 07, 2024 08:58:31
Topics: 4
Messages: 19
hi , all entry data, entred by the user in the elementor form, field titles and such can stay the same
February 07, 2024 08:59:01
Topics: 4
Messages: 19
the forminator for i mean sorry
February 07, 2024 09:51:11
E2Pdf
Topics: 7
Messages: 3617
Support
Unfortunately, Forminator doesn't have a separate custom hook to modify just the field slug output and we didn't extend it, so currently the options are:

1. Use PHP filter: https://codefile.io/f/leVBu30kmf added to your theme functions.php, change the template id to yours is required. However, it will update all values in the PDF, including labels.

P.S. Keep attention please that it can be required to modify Checkbox / Radio Options to uppercase also inside the E2Pdf Template.

2. Or, modify E2Pdf Template values that must be capitalized to:

[e2pdf-format-output filter="strtoupper"]{text-1}[/e2pdf-format-output]

If neither of the solutions can work for you - we will review the possibility of adding a custom hook directly to the Forminator data passed to PDF till the end of the week.

We would really appreciate your feedback at WordPress.org!
February 08, 2024 01:15:52
Topics: 4
Messages: 19
yeah a custom hook seems the way to go, because i have at least 5 forms with 50fields per form and i'll go up to 10 i think in the next few months , so doing each field manually would take a very long time
February 08, 2024 05:03:50
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,

We just released an update to E2Pdf 1.22.10 with an additional filter that allows modifying Forminator Data before rendering in PDF via the filter. You can update the plugin by following the steps here: https://e2pdf.com/docs/install#rc-version.

We highly recommend completing a BACKUP of the website and DB before applying the update as it has some major changes.

After the update, it must be added a filter to your theme functions.php or as a PHP snippet: https://codefile.io/f/CWyuYbM0P2.

You will need to modify it by changing the $templates array on which it must be applied.

P.S. Keep in mind please that the "checkbox" / "radio" and "select" will require a manual change of the "Options" property inside the E2Pdf Template.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
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.
© 2017 - 2026, https://e2pdf.com

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.