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.
Limit input to 3 attempts. ANSWEREDAsked by AA_C on December 16, 2015 at 07:34 AM
Is it possible to limit the number of attempts to 3 in one field so that another field cannot appear. On my formID=53297495897984, I have a field for "Membership Number". When a person enters a number my database verifies it. If it is ok then a field appears for Member Prices. If it is not valid then a different price list appears.
I would like the "Members Price" list to be locked out after 3 failed attempts. Is this possible.
The form is embedded at our website so that I can use the database. See url below.
3 style size height font
If I understand correctly. You would like your user to enter their number and compare it to your database. If the user does not enter the correct number in three tries, this field will be disabled.
This is not possible. You would require to export the source code and make the proper modifications to accomplish this.
If you require assistance creating export and making the modification, please let us know we will be glad to assist.
If you mean the form would have to be at our site it is now.
It is also connected to the database and verifying the member number.
If you try the form by using the url provided and enter 32 it will show valid, if you enter 31 it will come up invalid and non-member pricing appears.
Note: You will see a block where it requires last name and the number. Right now it just verifies the number, in time I want it to verify both and that requires using 3 different database tables. I'm am attempting to use PDO and medoo to do this.
I would appreciate any help you can offer.
Perhaps I misunderstood but I thought you might offer some insight into doing this.
If this is not the case then thank you for what support you have given.
As far as I know, it is not possible to limit the number of times text is entered in a field. Even with a custom script, they would still be able to modify a portion of the text repeatedly, rather than clearing all the text, to bypass a check for new entries. It would be akin to trying to validate a username and password from the text box instead of through a log in action. Log in attempts can be limited, whereas entering text into the fields can be done as much as you want. There is no way to track what a failed attempt is versus a change in text.
You make a very good point.
But what if we limit the number of times the "Validate" button is pressed.
So after pressing 3 times it disappears and then only the non-member pricing is available?
Could we also perhaps identify the ip and somehow allow it only 3 attempts no matter how many times they refresh the form? Reset after a day maybe?
Any of this make any sense?
What you are looking for would take quite a bit of additional coding outside of JotForm using the source code of your form. For something like this, I would recommend hiring a developer. We can assist you with anything in the program itself and occasionally smaller custom work, however, what you are looking is more than just a few lines.
OK, I appreciate what your saying. I will give it a go...Ho Ho. And talk to others.
Much obliged. Robert