What kinds of security controls can I add to my web forms?

  • Profile Image
    worrell
    Asked on June 23, 2010 at 10:07 AM
    For example, can we require a password in order to take a survey created in JotForm?
  • Profile Image
    aytekin
    Answered on June 24, 2010 at 06:12 AM

    NOTE: This is a workaround, not a perfectly secure feature. Jotform currently does not have a built-in password protection feature for forms. The password used for this solution is visible in the form's source code.

    Use this solution at your own risk.

     

    Yes, you can use Conditions to password protect your form. I created one to write the tutorial below for you. You can test it here:
    http://www.jotform.com/form/1740337809
    Password: test

    Here is how you can accomplish this:

    1. Add a password question to the beginning of your form. The password box is under "Power Tools".

    2. Add a "BageBreak" question to your form. It is under "Survey Tools" toolbox.

    3. Add this Condition:
    When "Enter password" Not Equals To "test"
    Then after user clicks "next" button skip to "Page 1"

    It is actually quite simple. Until the user enters the correct password she keeps being returned back to the first page and can never see the next page.

  • Profile Image
    asunwatcher
    Answered on November 02, 2010 at 01:06 PM

    Hi,

     

    this is a great tutorial thanks. Would it be possible to have multiple passwords and usernames then to access the same form? Is it just a case of expanding the Condition with OR ?

  • Profile Image
    aytekin
    Answered on November 03, 2010 at 03:12 PM

    Yes, this is a great example to using the OR on conditions.

  • Profile Image
    alyeg
    Answered on April 19, 2011 at 01:39 PM

    Thanks that is helpful but - ow do you set a "condition" I do not see this feature? 

  • Profile Image
    NeilVicente
    Answered on April 19, 2011 at 02:33 PM

    @alyeg,

    Refer to this page -  Conditional Logic on Forms - for more information on how to implement conditions in your form. Get back to us if you need clarifications. Thank you.

    Regards

  • Profile Image
    alyeg
    Answered on April 19, 2011 at 03:47 PM

    Yes - thanks, this works great.   One last question (hopefully) is there a way to have the survey put the response data into a table or data base vs. just an email response?

  • Profile Image
    mliz
    Answered on April 19, 2011 at 09:47 PM

    Hi alyeg,

    With the use of Send Post data you can transmit the results to another url.

    To see how "send post data" works:

    1. Create a "test.php" on your site and put this code in it:
    <? print_r($_POST); ?>
    2. Go to "Setup & Share" -> "Thank You" -> "Custom URL" and enter http://domain.com/test.php
    3. Enable the "Send Post Data"
    4. Save and submit your form.

    After that you would need to write the code to save these data to your database.
    The data is transmitted using HTTP Post.

    Hope this helps.

    Regards,
    Mliz