2 questions – images & hiding fields

Home Forums Pre-Sale 2 questions – images & hiding fields

This topic contains 7 replies, has 2 voices, and was last updated by  admin 1 year, 11 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4196

    Christy

    I’ve got two main questions:

    1. Can I use images in my form, not for upload but for placement. For example have an image populate a form field or will it only do image links/urls?

    2. I’m using conditional logic in my formidable form but it’s not carrying thru to the pdf. For example, in the form I’m working on, we want it so if the instruction (toward the middle of the form) that reads, “Battery Ordering Instructions”. If “VA/Denver” is checked, we want the paragraph “VA Denver Acquisition and Logistics Center…” populates the PDF form. BUT if “Indian Health/Military” is checked then a text form comes up and we want THAT to populate that spot in the PDF form. So we have 2 entries going to the same spot. Seems to pick whatever is last. Is there a way to choose tell it to pick the one that is showing only and hide the one that is hidden in the form?

    #4197

    admin
    Keymaster

    1. Images may be mapped to PDFs using a hidden Image URL field, which can be preset with a static Image URL to avoid having a user upload the required image.

    2. Conditional Formatting is not recognized by the plugin. If you have Formidable Pro installed, use the “Separate values” option in your (VA/Denver | Indian Health/Military) radio button field, and make the “value” the respective paragraphs, then map the radio button to a PDF text field. When merged, the PDf text field will show the “value” of the selected radio button.

    Let us know if the above is not answering your question or a fix for your design requirement as we remain at your service.

    #4218

    Christy

    So I got that all to work, it’s pretty sweet!

    Another follow-up question … The “Separate Values” area I need to place an image so that in my PDF form is populates as a paragraph of text with an illustration below. How can I get the image to show? I’ve tried writing HTML and image link but just populates as text in pdf form like this (see below). The picture actually views in the formidable form editor, but once transferred to pdf it’s just the image html. If it’s not the html that can convert it to an image is there a shortcode or something that would work to display that hidden image url as explained in the first email as an option?

    CUSTOM IN-THE-EAR HEARING AID – These hearing aids generally fit all in the ear …with nothing sticking out. InsertingImages_CIC

    #4219

    Christy

    OOHH sure the image shows up in my post above, but in my pdf form it’s not actually showing the image, it’s just tj html code like this: a href=”http://unitronform.wpengine.com/wp-content/uploads/2015/12/InsertingImages_CIC.jpg”><img class=”alignnone size-full wp-image-27″ src=”http://unitronform.wpengine.com/wp-content/uploads/2015/12/InsertingImages_CIC.jpg” alt=”InsertingImages_CIC” width=”634″ height=”461…

    #4220

    admin
    Keymaster

    There is not a built-in solution to this request. You will likely need to add custom JavaScript that will populate a hidden Image URL field when a radio value is selected.

    #4221

    admin
    Keymaster

    Another option that would not require custom JavaScript may be to upload two PDF forms, each with a different static image already saved in the PDF form. Then, dynamically change the LayoutID based on a radio button selection.

    #4222

    Christy

    Will you explain or give me a link on how to “dynamically change the LayoutID based on a radio button selected”?

    #4227

    admin
    Keymaster

    Using the “separate values” option, make the “value” match the LayoutID then in the shortcode, change the static LayoutID to the radio button field like this…
    [formidable-download form=”c1q9s6″ dataset=[id] layout=[101]]

    Where [101] is your radio button using the “separate values” option with the value matching your LayoutID’s.

    You can also use the Formidable Shortcode Conditionals such as IF STATEMENTS directly in your shortcode.

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

You must be logged in to reply to this topic.