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

    Limit a voting to one e-mail or name per vote?

    Asked by nuzzapp on August 29, 2013 at 10:02 AM

    We are conducting a survey where School Students vote. The problem with using "Strict Access" for the form is that it limits the IP address. A lot of these students use common computers in the classroom with the same IP address. Is there a way to limit voting by e-mail address or name or some other means other than IP address?

    Page URL:
    http://www.nuzzapp.com/school-spirit-awards/sports-pep-rally/

    name survey problem same IP
  • Profile Image
    JotForm Support

    Answered by abajan on August 29, 2013 at 10:41 AM

    Yes, that can be done. Please see this guide.

    Incidentally, radio buttons would be better for this form than check boxes, since users would be expected to vote for one team or the other but not both. Please see this article. However, as the form's full source is already embedded in your web page, just adding this code to the bottom of that page will make the checkboxes work as intended.

    If you require further help, do let us know.

    Thanks

  • Profile Image
    JotForm Support

    Answered by abajan on August 29, 2013 at 10:50 AM

    Add the code just before the closing body tag of the page. After the code has been inserted, the checkboxes should work like those in this demo.

    If you need further assistance on this aspect of the form, please open a separate thread, as it's not related to the original topic of this one.

    Thanks

  • Profile Image

    Answered by nuzzapp on August 29, 2013 at 07:12 PM

    In looking at the HTML in the form there is no section or tag call "Body" (See Below) So where would the code be placed?

    <script src="//cdn.jotfor.ms/static/jotform.js?3.1.1434" type="text/javascript"></script>

    <script type="text/javascript">

       JotForm.init(function(){

          $('input_4').hint('ex: myname@example.com');

       });

    </script>

    <link target="_blank" href="http://cdn.jotfor.ms/static/formCss.css?3.1.1434" rel="nofollow" rel="stylesheet" type="text/css" />

    <link type="text/css" rel="stylesheet" target="_blank" href="http://cdn.jotfor.ms/css/styles/nova.css?3.1.1434" rel="nofollow" />

    <link type="text/css" media="print" rel="stylesheet" target="_blank" href="http://cdn.jotfor.ms/css/printForm.css?3.1.1434" rel="nofollow" />

    <style type="text/css">

        .form-label{

            width:150px !important;

        }

        .form-label-left{

            width:150px !important;

        }

        .form-line{

            padding-top:12px;

            padding-bottom:12px;

        }

        .form-label-right{

            width:150px !important;

        }

        .form-all{

            width:690px;

            color:#555 !important;

            font-family:'Lucida Grande';

            font-size:14px;

        }

        .form-radio-item label, .form-checkbox-item label, .form-grading-label, .form-header{

            color:#555;

        }

     

    </style>

     

    <form class="jotform-form" action="http://submit.jotform.co/submit/32368033770857/" method="post" name="form_32368033770857" id="32368033770857" accept-charset="utf-8">

      <input type="hidden" name="formID" value="32368033770857" />

      <div class="form-all">

        <ul class="form-section">

          <li id="cid_1" class="form-input-wide">

            <div class="form-header-group">

              <h2 id="header_1" class="form-header">

                Vote For Your Team

              </h2>

            </div>

          </li>

          <li class="form-line" id="id_3">

            <label class="form-label-left" id="label_3" for="input_3">

              Enter Your Name<span class="form-required">*</span>

            </label>

            <div id="cid_3" class="form-input"><span class="form-sub-label-container"><input class="form-textbox validate[required]" type="text" size="10" name="q3_enterYour[first]" id="first_3" />

                <label class="form-sub-label" for="first_3" id="sublabel_first"> First Name </label></span><span class="form-sub-label-container"><input class="form-textbox validate[required]" type="text" size="15" name="q3_enterYour[last]" id="last_3" />

                <label class="form-sub-label" for="last_3" id="sublabel_last"> Last Name </label></span>

            </div>

          </li>

          <li class="form-line" id="id_4">

            <label class="form-label-left" id="label_4" for="input_4">

              Enter Your E-Mail<span class="form-required">*</span>

            </label>

            <div id="cid_4" class="form-input">

              <input type="email" class=" form-textbox validate[required, Email]" id="input_4" name="q4_enterYour4" size="30" value="" />

            </div>

          </li>

          <li class="form-line" id="id_5">

            <div id="cid_5" class="form-input-wide">

              <img alt="" class="form-image" border="0" src="//www.jotform.com/uploads/nuzzapp/form_files/Helment%20Daphne%20120x100.png" height="100" width="120" />

            </div>

          </li>

          <li class="form-line" id="id_6">

            <label class="form-label-left" id="label_6" for="input_6"> Check To Vote For Daphne - Then Click Submit Below </label>

            <div id="cid_6" class="form-input">

              <div class="form-single-column"><span class="form-checkbox-item" style="clear:left;"><input type="checkbox" class="form-checkbox validate[maxSelection]" data-maxSelection=1 id="input_6_0" name="q6_checkTo[]" value="Daphne" />

                  <label for="input_6_0"> Daphne </label></span><span class="clearfix"></span>

              </div>

            </div>

          </li>

          <li class="form-line" id="id_8">

            <div id="cid_8" class="form-input-wide">

              <img alt="" class="form-image" border="0" src="//www.jotform.com/uploads/nuzzapp/form_files/Helment%20Spanish%20Ft%20120x100.png" height="100" width="120" />

            </div>

          </li>

          <li class="form-line" id="id_7">

            <label class="form-label-left" id="label_7" for="input_7"> Check To Vote For Spanish Ft. - Then Click Submit Below </label>

            <div id="cid_7" class="form-input">

              <div class="form-single-column"><span class="form-checkbox-item" style="clear:left;"><input type="checkbox" class="form-checkbox validate[maxSelection]" data-maxSelection=1 id="input_7_0" name="q7_checkTo7[]" value="Spanish Ft." />

                  <label for="input_7_0"> Spanish Ft. </label></span><span class="clearfix"></span>

              </div>

            </div>

          </li>

          <li class="form-line" id="id_9">

            <div id="cid_9" class="form-input-wide">

              <img alt="" class="form-image" border="0" src="//www.jotform.com/uploads/nuzzapp/form_files/EASH3028_320x95.jpg" height="95" width="320" />

            </div>

          </li>

          <li class="form-line" id="id_10">

            <div id="cid_10" class="form-input-wide">

              <img alt="" class="form-image" border="0" src="//www.jotform.com/uploads/nuzzapp/form_files/HYDA2364_320x95.jpg" height="95" width="320" />

            </div>

          </li>

          <li class="form-line" id="id_2">

            <div id="cid_2" class="form-input-wide">

              <div style="margin-left:156px" class="form-buttons-wrapper">

                <button id="input_2" type="submit" class="form-submit-button">

                  Submit

                </button>

              </div>

            </div>

          </li>

          <li style="display:none">

            Should be Empty:

            <input type="text" name="website" value="" />

          </li>

        </ul>

      </div>

      <input type="hidden" id="simple_spc" name="simple_spc" value="32368033770857" />

      <script type="text/javascript">

      document.getElementById("si" + "mple" + "_spc").value = "32368033770857-32368033770857";

      </script>

    </form>

  • Profile Image
    JotForm Support

    Answered by jonathan on August 29, 2013 at 08:31 PM

    @  nuzzapp

    Hi,

    If you view the source code of Abajan's demo form, you can see the custom script code he added below -- before the closing </body> tag

     

    So, you can insert your custom script code like this.

    Please inform us if you need further help.

    Thanks.