[ERROR] IllegalArgumentException: Element not allowed.

Formidable Forms Resolved
January 25, 2023 09:11:47
urbansouldesign
Topics: 2
Messages: 8
Hi.

We are getting this error message when trying to export a pdf template with a dataset. Please can you advise what the issue might be?

Thanks
January 26, 2023 06:01:28
urbansouldesign
Topics: 2
Messages: 8
I also raised this point by contacting e2pdf via their contact us page. They replied very quickly.

They rplied...

"It could be caused by malformed "HTML". Check please the "HTML" elements placed inside E2Pdf Template via "Right Mouse Click" -> "Properties" -> "Value". If you will fail to find the issue, attach please the backup of the E2Pdf Template in response."

As the PDF was 36 pages long, I decided to identify which pages were broken. I started by deleting all pages but the 1st (*IMPORTANT without clicking update as this would premanently remove all the other pages*) and then clicked the preview button, then refreshed the page, deleted all but the 2nd page and then clicked the preview button, etc etc until I'd worked through all the pages and identified which had issues. If the preview loaded then that page was fine.

I then went through each field on the troublesome pages ijn the PDF and found some that were linking to old form elements that had changed from TEXT to SELECT and one where a html field had a UL element incorrectly nested. Once these were remapped/sorted everything worked fine.

Thank you support for the speedy response and pointing me in the right direction.
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.