JotForm User Guide / Advanced Features /

Allow Jotform to Be Filled out Only by Those with a Special Link

Allow Jotform to Be Filled out Only by Those with a Special Link

Update: JotForm password protection feature is available now! You can use this feature to protect your forms so only those who know the password can view and submit it. You can follow the steps in this guide:

There are many reasons why you would need or like to have the jotform filled out only by people that you want to either for avoiding it being submitted by someone that should not, or to be able to have more control over the time of submission as well.

Maybe you can find another reason why that would be good? Do let us know in the comments under this guide :)

OK, so there are 2 ways you can protect your jotforms from being filled out by anyone, a simple protection, and a bit more advanced one.

For the simple protection, you can take a look here.

If you are looking for the more advanced one, please keep reading.

First what we will do.
1. setup the jotform
2. add 2 hidden fields that we will pre-populate
3. add Form Calculation widget that will check them out.

Now, this is a simple math ‘algorithm’ that would allow you to see if the 2 hidden fields are matching your math equation.

Now to built it :)

I have added one field "Code" and made it hidden as well as changed its name to code - {code} to be precise (please see images).

1) Click Properties button and then Advanced:

2) Advanced details:

OK, once this is done, we add a new field and what I did was just duplicating the one above and then renaming it to conf.

OK, now we have 2 fields on our jotforms, code, and conf and we should make them hidden which we do by right-clicking on them, and then select Hide Field option.

OK, so that is all set no and we now have 2 fields that we will pre-populate later on.

Now onto adding Form Calculation widget to our jotform which is easy to do following that guide.

Once we do, you can set any type of math function to help you achieve what you are after. You can multiply, add, subtract or divide or you can even make a combination of few or all.

For simplicity purposes, I will use divide.

Again, you can use any math function and in any order, I have selected divide and that code field will be larger than conf for simplicity purposes.

You could also add few other fields to make this even more complex to guess.

Before setting it up however I have added a Text field with an error message which we will be showing in case someone comes over a direct link or types any numbers into the link parameters and have also changed the "Submit" button into "Register".

Now we need to go to conditions tab

And we set the conditions to take a look if the already set Form Calculation widget has the same number as a result of the math equation as the one we are expecting to get.

And that is it :)

Simple or complex? Do let us know :)

How do we use this you ask? Well here are the links to the jotform created to help with that:
As you can see the code and conf are already set in the link and you will see the register button

Now try the same jotform that does not result in 9 (code/conf !=9) as the result of calculation

Instead of getting a simple form we get a screen telling us that we can not use it.

The beauty of the math function above is that you can easily alter the form calculation and start using another math algorithm at any moment and no one would be able to get to it using the old links because an error would be shown.

The one thing to remember is what is the first field and what is the second field.
Now as I wanted to get 9 as the outcome, I need to do this:
(expected) result * conf value (of my choice) = which is then equal to the code value

example: 9 * 13.66 = 123

Or if you want to set specific code and want the math function result to match then you can do this: code / result = conf value

example: 123 / 9 = 13.66

The links above are showing you the fields so that you can see what happens as you come to the jotform, but if you follow the steps above, your visitors will not see these fields at all.

Have any questions? Do let us know, we are eager to hear them :)

What we recommend to follow up on after setting this?

- How to Limit Submissions in a Form
- How to set Form Limits Based on a Unique Question
- How to Set Unique Submissions on a Form

Contact Support:
Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:
Contact JotForm Support:

Send Comment


  • javeriamahveen

    How to add code and conf in the form link?

  • jerry

    I was considering signing up for Jotform, but, seeing that the link in your own website is broken, and, it was reported above on 4/22, yet is still broken, and, both of the example forms above result in "form not found" I am very skeptical whether your organization and product is something I want to depend on. That is, if you can't solve your own problems, how can I count on you to solve mine?

  • POME3790

    Can you show me the link that is missing from the statement at the beginning of the reply i.e. For the simple protection you can take a look here: {LINK} Thanks

  • andres00515

    this metod can be deducen in the source code. Any more safe?

  • Duncan

    Still not sure how you get the orange full screen Error message?

    You say you have added a text field, but how does this become the full screen orange message as per this example?

  • Alpine365

    Thank, just what I need! Can you please tell me how I get the full screen message box, I think it uses CSS?

  • Stephen DelVecchio

    So this really only just gives you the ability to change the URL on the fly, but doesn't prevent someone from forwarding the original email to someone else to fill out does it?

    I would like to prevent Joe from forwarding a form and being filled out by his girlfriend Sue.