What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    I need a unique email popup form for 170 email recipients. - RESOLVED

    Asked by AA_C on February 18, 2016 at 02:24 PM

    I need a email popup form for 170 email addresses.

    Can I create a Email form for 170 different email addresses. I want to prevent malicious-apps from scanning our email lists.

    I have a list of 170 judges. Each has their own email address. I want to be able to click on a link for each that opens an email popup form that when sent goes to that judge alone. . Is this possible.

    Right now I hide the email address with a link that says "email me".

    This list is populated using our database.

    See list using link below.

     

    Robert

    Page URL:
    http://www.aac.ca/en/judges/inc/aacjudges.php

    email form different email pop-up form
  • Profile Image
    JotForm Support

    Answered by Mike on February 18, 2016 at 05:37 PM

    In theory, the following work around may work.

    Add a Drop Down with the names to your form and set up associated email conditions. You will need to create a separate email condition for each recipient (name).

    Then, use a little modified pop-up embed codes. The idea is to prepopulate the name field on the pop-up link.

    For example:

    https://form.jotform.com/60486968781979 

    changes to 

    https://form.jotform.com/60486968781979?name=Judge%201

    Pop-up code:

    <a target="_blank" href="javascript:void(

            window.open(

              'https://form.jotform.com/60486968781979?name=Judge%201',

              'blank',

              'scrollbars=yes,

              toolbar=no,

              width=700,

              height=500'

            )

          )

        ">

          Message Contact Form

        </a>

    Repeat for each name.

  • Profile Image

    Answered by AA_C on February 18, 2016 at 08:24 PM

    OK I see what you have in mind. Could I also create a separate form, clone, for each judge?

    Robert

  • Profile Image
    JotForm Support

    Answered by Chriistian on February 19, 2016 at 03:51 AM

    It is possible to clone a separate popup form for each of the 170 judges as there are no limits to the amount of forms you can create, however, it would take some time to clone and edit each form for each judge. Simply follow this guide to clone the form: How to Clone an Existing Form from a URL

     

  • Profile Image

    Answered by AA_C on February 19, 2016 at 09:03 AM

    I didn't think that through. Because I use php to populate the list that idea of mine would never work.

    This line of code captures the email address and displays it;

     echo "<td style=\"width: 170px; height: 18pt;border-top:1px #ccc dotted;text-align:left\"><a class=\"redLink9\" target="_blank" href='mailto:".$email."'> email me </td>";

     Could  I inject the popup script into this line by replacing the href section with it?

    Only problem would be a drop down list with 170 names when a person would expect the name they selected. Any ideas?

    TNX Robert

  • Profile Image
    JotForm Support

    Answered by Kevin_G on February 19, 2016 at 11:29 AM

    Yes, instead of use the drop down, you may use a text box to be populated, for example using the above code, you only will need to populate the email with your PHP code.

    <a target="_blank" href="javascript:void(

            window.open(

              'https://form.jotform.com/60486968781979?email=<?php echo $email; ?>',

              'blank',

              'scrollbars=yes,

              toolbar=no,

              width=700,

              height=500'

            )

          )

        ">

          Message Contact Form

        </a>

    Now instead of use multiple conditions you can only use one and it should look like this.

    You may also populate the name if you want. Using this method you will avoid first to create multiple conditions to send the email to each recipient and second you will also avoid to clone your form and use one for each email recipient. 

    You will be using one form and sending the email notifications to the selected recipient. 

     

  • Profile Image

    Answered by AA_C on February 19, 2016 at 01:17 PM

    OK I have a form now; 60487350939970 , Not sure if it is done correctly.

    I have condition shown above and I understand where the script is placed in my php code.

    I don't understand how to do this part

    You may also populate the name if you want. Using this method you will avoid first to create multiple conditions to send the email to each recipient and second you will also avoid to clone your form and use one for each email recipient. 

    TNX, Robert

  • Profile Image
    JotForm Support

    Answered by Kevin_G on February 19, 2016 at 02:51 PM

    Please accept my apologizes if I did not explain the method properly.

    Now, I cloned your form and made a test, first you will need to get the Pop Up code, as explained on the steps above, once you have the code paste it in a text editor. I will use the code of my cloned form.

    Your code should look like this.

    First, the PHP code, where you can populate the name and email, both fields.

    <?php

        $name="Test Name 1";

        $email="test1@email.com";

       ?> 

    The next step is add the variables above to populate your form, the code should look like this.

        <a

          target="_blank" href="javascript:void(

            window.open(

              'https://form.jotform.com/60495645823968?judgesEmail=<?php echo $email; ?>&judgesName=<?php echo $name; ?>',

              'blank',

              'scrollbars=yes,

              toolbar=no,

              width=700,

              height=500'

            )

          )

        ">

        Click here to contact with Test 1

        </a>

    This will be the result.

    Using this method you will avoid to create multiple forms, you will be able to use only one and populate the name and email fields, with the condition that you added an email will be sent to the selected person.

    Hope this helps.

  • Profile Image

    Answered by AA_C on February 19, 2016 at 03:19 PM

    Thanks, I like the method. Can I possible see the form you created?

    Robert

     

     

     

  • Profile Image

    Answered by AA_C on February 20, 2016 at 08:38 AM

    Working code: 

    echo "<td style=\"width: 170px; height: 18pt;border-top:1px #ccc dotted;text-align:left\"><a class=\"redLink9\" target="_blank" href=\"javascript:void( window.open( 'https://form.jotform.com/60487350939970?email=".$email." &judgesName=".$jname."', 'blank', 'scrollbars=yes, toolbar=no, width=700, height=500' ) ) \">Email me</a>";

  • Profile Image

    Answered by AA_C on February 20, 2016 at 12:19 PM

    I think I have it working now. The form appears, and the proper judges name is in box. I just have to figure out a way to test now with a one of our judges.

    Thank you,

    Robert

  • Profile Image
    JotForm Support

    Answered by Kevin_G on February 20, 2016 at 08:59 PM

    Sorry for the late response.

    Here is the code that I used, you may copy and test it on your end: http://pastiebin.com/56c9149007e1a

    Now, I tested your code and I found some error in the syntax, try pasting this code: 

    echo "<td style=\"width: 170px; height: 18pt;border-top:1px #ccc dotted;text-align:left\"><a class=\"redLink9\" target=\"_blank\" target="_blank" href=\"javascript:void( window.open( 'https://form.jotform.com/60487350939970?email=".$email." &judgesName=".$jname."', 'blank', 'scrollbars=yes, toolbar=no, width=700, height=500' ) ) \">Email me</a>";

    It is working on my end and should work on yours as well. If you need some help, let me know if you need more help, share me the code that you are currently using, I will be glad to help you.

  • Profile Image

    Answered by AA_C on February 20, 2016 at 09:14 PM

    Hi Kevin,

    Thanks, I had it working already, form works like a charm.

    My eyes can't pick out the diff. Please [point it out>

    Question though, I see a "blank" issued twice. I assume it could be removed from the html "_blank".

    see link

    http://www.aac.ca/en/judges/inc/aacjudges.php

     

  • Profile Image

    Answered by AA_C on February 20, 2016 at 09:19 PM

    Here is the script I used:

    echo "<td style=\"width: 130px; height: 18pt;border-top:1px #ccc dotted;text-align:center\"><a class='redLink9' target="_blank" href=\"javascript:void( window.open( 'https://form.jotform.com/60487350939970?email=".$email." &judgesName=".$jname."', 'blank', 'scrollbars=yes, toolbar=no, width=700, height=1020' ) ) \">Contact</a>";

  • Profile Image
    JotForm Support

    Answered by Kevin_G on February 20, 2016 at 10:46 PM

    Yes, that was my mistake, only one "target" properly should be and it should be this target=\"_blank\".

    echo "<td style=\"width: 170px; height: 18pt;border-top:1px #ccc dotted;text-align:left\"><a class=\"redLink9\" target=\"_blank\" target="_blank" href=\"javascript:void( window.open( 'https://form.jotform.com/60487350939970?email=".$email." &judgesName=".$jname."', 'blank', 'scrollbars=yes, toolbar=no, width=700, height=500' ) ) \">Email me</a>";

    However, I see the code is working on your website and it would be better to do not make any change, since it's already working as expected.

  • Profile Image

    Answered by AA_C on February 21, 2016 at 08:00 PM

    I have a big problem with this form. When a Judge responds to form the email comes to my email not to the person sending the judge a message.

    I will have to disable it for now.

    Robert

  • Profile Image

    Answered by AA_C on February 21, 2016 at 08:24 PM

     

    IF this is even possible

  • Profile Image
    JotForm Support

    Answered by Chriistian on February 21, 2016 at 10:22 PM

    If you want to reply to the person sending the judge a message, you will need to add the Reply-to Email in the notification as the user's e-mail address.

    For more information regarding notifications and autoresponders, please check out this guide: Notification/Autoresponder Email Details

    Let us know if you need further assistance.

  • Profile Image

    Answered by AA_C on February 22, 2016 at 07:40 AM

    Great… The answer was right under my nose.

    I notice that my email is still showing, will I be getting a copy of each submission also (bottom right)? 

    Thank you for the great support you guys and gals give me. 

    Robert

     

    Agility Association of Canada 

  • Profile Image
    JotForm Support

    Answered by mert on February 22, 2016 at 09:14 AM

    Hi Robert,

    In the name of my colleague Kevin, you are most welcome. You should be getting copy of each submission to the email address "rbc@aac.ca", because of that "Notification" setting which you mentioned. Please, test this and let us know its final state.

     

    Regards.

  • Profile Image

    Answered by AA_C on February 22, 2016 at 09:22 AM

    So if I were to put a fictitious email address there (email@email.net)

    what would happen? Would the judge get an error message?

    Thing is I really don't want to get all those messages.

    Robert

  • Profile Image
    JotForm Support

    Answered by mert on February 22, 2016 at 09:56 AM

    Robert, sorry for the misunderstanding. I checked your form again and see the related condition and your email address on the "Notification" is overwritten by the "Change E-mail Recipient" condition.

    Please, see it from the below:

     

    As a result of this, you won't get any email from that form. I also checked the mail log and didn't encounter any email from that form to the email address "rbc@aac.ca". So, you don't need to change anything, everything should be fine. However, if you encounter any issue, please do let us know.

     

    Thanks.

  • Profile Image

    Answered by AA_C on February 22, 2016 at 10:14 AM

    So, now if the judge uses "reply" on their email app. The message will go to the sender and not me because of Chriistian suggestion. The above condition is for the person sending the judge a message not the judges reply to them.

    In any case I think all is good now. If I have a problem I will get back to you. I believe this is a closed ticket.

    TNX, Robert

  • Profile Image
    JotForm Support

    Answered by Kevin_G on February 22, 2016 at 11:28 AM

    Yes, in theory you should not receive any email when a judge replies to an email, following the steps as suggested by my colleague Chriistian, the reply will be sent only to the submitter and you will not receive any email.

    Do let us know how it goes and if you need further help, we will be glad to help you.