How to show empty hidden fields in email?

  • Profile Image
    nhamwey
    Asked on December 11, 2017 at 05:07 PM

    I am using 4 Image Pickers that appear individually depending on an image selected on another Image Picker widget, while the other three are hidden.

    The email that the user receives appears to be correct with the proper {} but only the image shown when the user hits submit, is sent in the email.

  • Profile Image
    Richie_P
    Answered on December 11, 2017 at 05:29 PM

    You can show Hidden Fields in your email notification  by clicking ADVANCED in your email settings.

    scroll down until you find Hide Empty Field and toggle it to NO


  • Profile Image
    nhamwey
    Answered on December 11, 2017 at 05:59 PM

    Thanks, I still have a couple of questions though.

    When someone edits their submission, it shows the fields that are normally hidden, is there a way to have the form appear the same way as normal with their selected options filled in?

    Why does my {fastestLap}, {sector1}, etc. show up as the image on the form (correct) but shows up as text (incorrect) on the recipient email?


  • Profile Image
    Mike_G
    Answered on December 11, 2017 at 08:12 PM

    When someone edits their submission, it shows the fields that are normally hidden, is there a way to have the form appear the same way as normal with their selected options filled in?

    I see that you have already asked this from another thread that you have created and I believe you are satisfied with my colleague's answer from that thread — https://www.jotform.com/answers/1320187

    However, if you want to have the images to stay in the Text Field as described in the image below even in edit mode

    1513039984t19_50_35.png

    You need to set the "Clear Hidden Field Values" settings to "Don't Clear".

    1513040306t19_54_13.png

    Why does my {fastestLap}, {sector1}, etc. show up as the image on the form (correct) but shows up as text (incorrect) on the recipient email?


    I have checked the email content of the email autoresponder in your form and I see that you are posting the value of the textbox fields where the link to the images are passed conditionally to show the selected image. Instead of doing that, use the Image Picker widgets in the email autoresponder content as shown in the screenshot below.

    1513040844t20_01_01.png

    As a result:

    1513041034t20_09.gif


    I hope this helps. If you have other questions or concerns, please feel free to contact us again anytime.

  • Profile Image
    nhamwey
    Answered on December 11, 2017 at 08:34 PM

    I had changed the email so it no longer contained the {} for the Image pickers.

    It actually does not seem to be a problem with the email displaying the images. If you see my form, I have 1 Image Picker widget with 4 options, that controls 4 other Image Picker widgets.

    In the emails I am receiving, I get only 1 Image Picker {} return, that is the image not hidden when the ENTER button is pressed.

    I hope this makes sense and appreciate the help.

  • Profile Image
    BDAVID
    Answered on December 11, 2017 at 09:28 PM

    I have cloned your form, and tested it, and found out that the "Clear hidden field values" was set to "clear on submit". Please set it to "Don't clear", and all the selected images will show up:

    1513045671don'tclear.png

    Example:

    1513045597myteam.png

  • Profile Image
    nhamwey
    Answered on December 11, 2017 at 09:34 PM

    Perfect, thank you very much.

  • Profile Image
    BDAVID
    Answered on December 11, 2017 at 09:40 PM

    Welcome. :-)