How to add limitations on form based from the option selected?

  • U_S_SS
    Asked on March 16, 2015 at 11:54 AM
    Also, as an additional question, is there a way of not processing the form to the 'thank you' page if the user fills out certain information? For example, my form is an application form and i only want people from the UK. Can i set it so if they select 'non-uk' it will show a message saying 'sorry your application was unsuccessful, we currently do not process non-uk citizens'?
  • Sean
    Replied on March 16, 2015 at 12:37 PM

    Sorry but we are not able block users from a specific region from making submissions to your form. If you embed the form on your website, you can use .htaccess to block persons from regions outside of the UK from viewing your website the form is embedded on. You can reference the links below for further information on this:

    http://www.ip2location.com/blockvisitorsbycountry.aspx
    http://www.inmotionhosting.com/support/website/htaccess/block-country-ips 

    I hope the information provided helped. Do let us know if our assistance is needed further.

    Regards

  • U_S_SS
    Replied on March 17, 2015 at 4:14 AM

    Sorry, i think i used a bad example. What i want to know is can i create a yes/no field, then if 'yes' is ticked the form gets processed and the user gets the conformation page. But if 'no' is selected then a different message comes up once they submit the form saying 'sorry your application has been unsuccessful'?

     

    Thanks

    Daniel

  • Charlie
    Replied on March 17, 2015 at 9:50 AM

    Hi Daniel,

    You can do that by setting up your form to have conditional logic. To learn more about it, you can check this guide: http://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    What you can do is break down your form to have multiple pages, here's a guide on how to do that: http://www.jotform.com/help/119-How-to-Create-Multi-Page-Forms.

    You can use the skip function in the "Conditions" to navigate the user to specific pages depending on what is selected on an input field, you can disable the next button to have a dead end. Here's an example: http://form.jotformpro.com/form/50754198467972.

    Here's a quick guide on how I did mine.

    1. Add the necessary fields, break down your form into pages, I have page 2 as the page where user is not qualified to proceed, the next button on it will be set to "hidden".

    How to add limitations on form based from the option selected? Image 1 Screenshot 40

    2. In the conditions, select option 2 to skip pages.

    How to add limitations on form based from the option selected? Image 2 Screenshot 51

    3. Here you can set rules with specific actions.

    How to add limitations on form based from the option selected? Image 3 Screenshot 62

     

    I hope that helps. Do let us know if you need more assistance on this.

    Thank you.