How to set a condition that will show/attach appropriate link to file?

  • Profile Image
    Asked on July 18, 2017 at 01:23 PM


    I have a checkbox question which asks you to choose which pdf article you would like to have emailed to you. You can choose more than one article.

    I have set it up so  that if you choose any ONE of the pdfs, an email will come to  you with that pdf attached. The problem is that if someone chooses MORE THAN ONE of the options, it stops working. I get, logically, why this happens. But I cannot determine if there is a work around for it.

    I wish I could choose the state "includes" as opposed to "is equal to" but that isn't an option. 

    I do not care if the user gets a separate email for each article they choose, I just want them to be able to choose more than one.

    Anyone have any ideas?

    In a related but different problem, even if I just select one pdf I am not receiving the email. It worked a couple weeks ago when I first built the form out, but now it is not sending at all. 

  • Profile Image
    Answered on July 18, 2017 at 02:59 PM

    I thought about this issue and there might be a workaround.

    What I have in mind is to split your check boxes in separate fields:

    And assign calculation values to each checkbox, which will actually be the link to your file, which you can upload somewhere:

    Then you can add a Text field that will represent the link and be shown if the checkbox is clicked:

    And conditions that will reveal appropriate fields:

    I did for three links in this test form:

    Please check and let us know if that could work for you.

    Thank you!

  • Profile Image
    Answered on July 19, 2017 at 03:41 PM

    Wow!! That is such a great solution!! I would have NEVER thought of that! I like that much better than sending emails to the user anyway. Thanks so much!

    The only thing I don't get is why I have to put the link in the Calculation Values box for each option...couldn't it just be achieved from Show/Hide? Check out my form again and see how I've done it so far...

  • Profile Image
    Answered on July 19, 2017 at 04:45 PM

    My colleague has added the link to the Calculation Values so that the download URL will show up on the {input10} {input11} {input12} variable on the text field.

    You can also directly add the link to the text field instead of adding it to the Calculation Values of the multiple choice field as what you have done on your form. I checked your form and I was able to see that you have now set this up properly.

    Do let us know if you need further assistance.

  • Profile Image
    Answered on July 19, 2017 at 05:00 PM

    This is so wonderful. Thank you guys so much!!

  • Profile Image
    Answered on July 19, 2017 at 05:05 PM

    Uh-oh. My colleague just reminded me of a big problem - if we put the links in the form like that, then there's no guarantee the user will submit the form at all...and the whole point is to offer these papers as "gated content" so our client can generate some sales leads from the people that complete it...

    I really liked this idea, but I didn't think it all the way through to that point...

    Any other thoughts? Any way to require the user to submit the form?

  • Profile Image
    Answered on July 19, 2017 at 05:35 PM

    If that will be the case, maybe you can add the link on the Thank You page of your form so the user will only be able to download the files upon submission. I will create a sample form for you. Please give me some time to create the sample form. Will get back to you once I have created the sample form.

  • Profile Image
    Answered on July 19, 2017 at 06:17 PM

    To show the link on your Thank You page, just follow the instructions below.

    1. Remove the Text field that shows/hides upon selecting the checkbox.

    2. Also, remove the Condition setup for the Text fields removed.

    3. Setup the links to the corresponding checkbox's Calculation Values settings.

    4. Add Form Calculation widget that will hold the value for the links.

    5. Setup the corresponding Form Calculation widget.

    6. Add the Calculation widget fields to your Thank You page.

    Once you have set this up properly, the links should be displayed on your Thank You page.

    You can check this sample cloned form that I have created:

  • Profile Image
    Answered on July 27, 2017 at 09:10 AM

    Sorry - I haven't had a chance to do this yet, but that looks like it will work perfectly. Thank you guys so much for your help!!

  • Profile Image
    Answered on July 27, 2017 at 05:20 PM

    OK - I've got it all set up and it is working as you said it would. The only problem is the link not being clickable, but the user having to copy and paste it instead. Any work-arounds for that? Sorry I keep coming back for more help!

  • Profile Image
    Answered on July 27, 2017 at 06:30 PM

    Simply select each variable, and copy it, then click on the hyperlink icon, and paste it there, example:

  • Profile Image
    Answered on August 01, 2017 at 10:24 AM

    You're the best - all is working great! Can't thank you enough!