map caldera fields to field on the form

Caldera Forms Resolved
25 June, 2019 05:56:26
knireis
Topics: 2
Messages: 8
I have a pdf and need certain info to be printed onto the pdf. This info comes from a user submitted caldera form.
Can i map the caldera fields to a location on the pdf? They are just text fields.
Regards
25 June, 2019 06:03:47
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

Yes, sure. Caldera Forms is supported by E2Pdf, so you can use your pre-made PDF or create it from scratch.

E2Pdf is available at WordPress.org for download for free. We do not limit any functionality except number of "activated" templates (1) and number of pages (1) that can be used inside this template with "FREE" version.

So if your PDF has more than 1 page, you can edit it to have only 1 page, upload to E2Pdf, map fields and test all functionality with "FREE" version.

Documentation is located here: https://e2pdf.com/support/docs.

Some video examples located at our YouTube channel: https://www.youtube.com/e2pdf.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
25 June, 2019 06:13:28
knireis
Topics: 2
Messages: 8
thanks, i will try the free version first.
Would you consider supporting Elementor pagebuilder form widget?
https://elementor.com/widgets/form-widget/

25 June, 2019 06:25:44
E2Pdf
Support
Topics: 7
Messages: 3163
We plan to add its support in future and we have this point in our "roadmap", as we got other similar requests for Elementor. Unfortunately we can't give you any approximately time for release as Elementor support is just under review stage.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
25 June, 2019 07:36:08
knireis
Topics: 2
Messages: 8
Hi,
Works like a charm sofar, except that the background color of a field has a color, i did set it to #ffffff in the field properties.
See attachment.
Regards
25 June, 2019 07:47:55
E2Pdf
Support
Topics: 7
Messages: 3163
It's default behavior of PDF for editable fields and depending on the viewer that is used.

The solution (If you need to have look like everywhere the same):
- You can "flatten" PDF document via "E2Pdf" Template -> "Settings" -> "PDF" -> "Flatten" -> "Yes". (Image 1)
OR
- Mark field "Readonly" via "Right" mouse click -> "Properties" -> "Readonly".(Image 2)

P.S. By default fields are "transparent".

We remain at your service.
We would really appreciate your feedback at WordPress.org!
25 June, 2019 07:52:56
knireis
Topics: 2
Messages: 8
thanks , read only solves it

Suppose if i use conditional fields in the caldera form, will that work? mapping becomes a bit complicated i guess
25 June, 2019 07:55:51
E2Pdf
Support
Topics: 7
Messages: 3163
E2Pdf works with final data that is submitted by "Form" so it must not be any issues. If you will need to have some dynamic changes based on input inside PDF you will need to use E2Pdf "Actions" and "Conditions".

We remain at your service.
We would really appreciate your feedback at WordPress.org!
25 June, 2019 08:09:16
knireis
Topics: 2
Messages: 8
in my case i would select a course in the form (radio select), each course opens a coursedate field. So for 5 courses there are 5 datefields, all of them have a different slug. And all 5 of them need to be mapped to the same spot on the pdf.
25 June, 2019 08:15:12
E2Pdf
Support
Topics: 7
Messages: 3163
Here is simple example changing "Value" depending on "Checkbox" select via "Actions" and "Conditions":

If "checkbox" == "Course 1"
Set "Value" to "%course1%" slug.

If "checkbox" == "Course 2"
Set "Value" to "%course2%" slug.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
25 June, 2019 14:41:57
E2Pdf
Support
Topics: 7
Messages: 3163
It's need to see on which step it's failing.

1. Try to replace "change values" to 1 and 2, to check if condition fire.

If it's not fired then the comparison condition does not work.

1.1 Create "another" field and check which value will be printed if you will use this field slug.

1.1.1 If it will output correct result - try to copy it to "if condition value".

1.1.2 If it will output blank result - recheck if slug is correct.

2. If the problem will not be in "conditional comparison", recheck if "change value" field slug has no mistakes and which value will be output if you will use it directly.

Let us know please if anything will work for you. Thank you.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
26 June, 2019 03:27:52
knireis
Topics: 2
Messages: 8
step 1 is working fine so it seems it does not accept a %slug% value.
Which is fine and easier for me as well because now i don't need to create these conditional fields in caldera.

Thanks for the support.
26 June, 2019 06:56:35
E2Pdf
Support
Topics: 7
Messages: 3163
Thank you for letting us know.

We tried to replicate issue with not rendered value but it worked like expected. If you will need to use "Actions" with dynamic change of value and it will not work or you will get any other unexpected results, do not hesitate to contact us.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
26 July, 2019 10:56:21
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

We just released an update (1.08.07) which can affect mapping checkboxes.

If you are using checkboxes with "Show Values" options please recheck if PDF has correct render of values as if "Show Values" checkbox checked inside Caldera Forms checkbox option - it will output "Values" and not "Labels" from 1.08.07 version. To get "Labels" it's need to use %slug:label% instead of %slug%.

Unfortunately we could not fix issue with saving "backward" compatibility. Sorry for any inconvenience.

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