How to map a dynamic field

Home Forums How to How to map a dynamic field

This topic contains 5 replies, has 2 voices, and was last updated by  Andrew 2 years, 4 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1016

    Andrew
    Participant

    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.

    #1018

    admin
    Keymaster

    Use 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].

    #1019

    Andrew
    Participant

    When 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″]

    #1022

    Andrew
    Participant

    Hi – 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.

    #1025

    admin
    Keymaster

    For 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.

    #1026

    Andrew
    Participant

    Thanks – 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.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘How to map a dynamic field’ is closed to new replies.