Tagged: dynamic field, multible forms, second dataset
- This topic has 5 replies, 2 voices, and was last updated 9 years, 5 months ago by Andrew.
-
AuthorPosts
-
July 2, 2015 at 6:31 am #1016AndrewParticipant
I have a form I am trying to map to Pro2PDF. The form has dynamic dropdowns to pull data from another form. For example:
The form I am creating the PDF for is an ASSESSMENT REPORT, but the Students name is in a PERSON Form and pulled in via a drop down in Formiddable.
I do not seem to be able to get the persons name into the PDF, it just puts the ID of the dropdown field there instead.
I hope this makes sense.
July 2, 2015 at 7:31 am #1018adminKeymasterUse the “Add a second dataset” feature to access the Students Name dataset from the PERSON Form, and change the shortcode’s dataset2 setting to dataset2=[dropdownID].
July 2, 2015 at 8:14 am #1019AndrewParticipantWhen I do not add the second dataset, I get the data from the ASSESSMENT REPORT with no problem. When I add the second dataset, I just get a blank form.
I am exciuted about the possibilities here – just need to get it to work. Any ideas?
The code I end up with is:
[formidable-download form=”7i289q” dataset=”57130″ layout=”18″ form2=”frm_tracking” dataset2=”[853]” layout2=”18″]
July 3, 2015 at 1:08 am #1022AndrewParticipantHi – I have been trying everything I can think of to get this to work, and the only think I can definitely say is that as soon as I activate “Add a second dataset” then my PDF is just blank with no content. If I do not activate it then at least some of the content comes through.
July 3, 2015 at 6:26 am #1025adminKeymasterFor a second dataset your shortcode must have two layouts, in your example you only have layout=18, but the second dataset must have it’s own layout.
1. Be sure both forms are active in the PRO2PDF Plugin’s “Activated Forms” tab (ASSESSMENT REPORT and PERSON FORM)
2. Create a second layout for the student’s name (Use the same PDF Form, but must map student name from PERSON FORM to Student Name in PDF FORM)
3. There must be at least one dataset in each Formidable Form for the mapping to work.I’ve created a demo for you to view, I will email the login credentials to you.
July 3, 2015 at 6:42 am #1026AndrewParticipantThanks – I have to go away for a week and will be back onto this in a week. This is really going to same a lot of work for me once working. Thank you.
-
AuthorPosts
- The topic ‘How to map a dynamic field’ is closed to new replies.