Formidable Forms Shortcodes in HTML Object

Formidable Forms Released
15 March, 2021 16:11:14
trustITAdmin
Topics: 3
Messages: 7
Hi there support,

We are planning on launching E2PDF for our forms, but we currently have ~ 200 forms. I am wondering the best approach for rolling this out as we have multiple repeater fields on almost every form.

We use HTML code to format the emails for each form, my thought was to copy this code and insert it into an HTML object and allow spill over, but it doesn't appear to understand the Formidable shortcode: [default-message include_fields="5134,5135,5136"]

Attached is how it looks in Email vs E2PDF.

Our emails are very standard, here is a snippet as an example:

<table cellspacing="0" style="font-size:14px;line-height:135%;border-bottom:1px solid #cccccc;"><tbody>

<tr style="[frm-alt-color]"><td colspan="4" style="text-align:left;color:#555555;padding:7px 9px;vertical-align:top;border-top:1px solid #cccccc;"><h3>APPLICANT INFORMATION SECTION</h3></td></tr></tbody></table></br>
[default-message include_fields="5081" exclude_fields="1723"]

Your time & comments are greatly appreciated, thanks!
15 March, 2021 16:36:53
E2Pdf
Support
Topics: 7
Messages: 3335
Hi,

Unfortunately yes "default-message" shortcode currently doesn't supported, however give us please some time so we can check if we can add its support out of the box as we need to do some tests. As soon as we get some info we will update the thread.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
16 March, 2021 09:20:46
E2Pdf
Support
Topics: 7
Messages: 3335
Hi,

We just released RC version which supports [default-message] shortcode. Keep in mind please that 1.14.x branch still under "beta" as there was a lot of core changes and improvements, however it's stable and we didn't have any unresolved bugs. You can apply update now by turning on updates from "e2pdf.com". Option can be enabled at "E2Pdf" -> "Settings" -> "Release Candidate Builds" (screenshot). After enabling this option you must be able to check for updates at "Dashboard" -> "Updates" and update plugin as usual to version 1.14.07.

It's recommended to turn off this option after update

If you will face any issues or errors, let us know please. Thank you.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
16 March, 2021 17:51:03
trustITAdmin
Topics: 3
Messages: 7
Excellent thank you for your hard work, Oleksandr.

Any idea of when this feature would be merged to the master?

Thanks again!
16 March, 2021 18:03:52
E2Pdf
Support
Topics: 7
Messages: 3335
We expect to merge it till the end of this month.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
18 March, 2021 21:04:14
trustITAdmin
Topics: 3
Messages: 7
This is awesome, great work!

For CSS purposes : I'm curious if the the [default-message include_fields="5081"] uses a certain tag? Like <p> or <td>

Thanks again.

19 March, 2021 10:39:06
E2Pdf
Support
Topics: 7
Messages: 3335
It must generate html same way as inside Formidable Forms email, however the output can be different as "HTML" tags converted to PDF format upon PDF generation and can be that not all CSS/HTML tags supported.

P.S. You can assign value to "textarea" field as a workaround to see the source of generated HTML.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
24 March, 2021 03:37:24
trustITAdmin
Topics: 3
Messages: 7
Great thank you Oleksandr!

Any idea of when css like border-top will be functional? The default message has some inline style that is getting recognized.

Also it doesn't appear the <br> works - any idea of when this will work or an available work around? Without inserting a blank table line?

Thank you very much for your continued support.
24 March, 2021 06:52:32
E2Pdf
Support
Topics: 7
Messages: 3335
Hi,

- Space inside table generated due the inserted row with "nbsp" tag by Formidable Forms. You can try to "Disable WYSIWYG Editor" and replace "nbsp" with empty value via search/replace filter (screenshot 1):

[e2pdf-format-output search="&nbsp;" replace=""][default-message][/e2pdf-format-output]

- Currently we didn't find any issue with "br". It renders correctly new line with possible values. (screenshot 2). Maybe you can put shortcode in "textarea" and share the output? Just so we can see which tags rendered and what expected.

As about "border-top" functionality, unfortunately we do not have yet any ETA, however as soon as we will be able to implement it, we will notify you.

We remain at your service.
We would really appreciate your feedback at WordPress.org!