- AA_CAsked 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.
- victorAnswered on December 16, 2015 at 09:10 AM
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.
- AA_CAnswered on December 16, 2015 at 09:34 AM
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.
- AA_CAnswered on December 17, 2015 at 12:56 PM
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.
- JotForm SupportdavidAnswered on December 17, 2015 at 01:34 PM
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.
- AA_CAnswered on December 17, 2015 at 02:11 PM
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?
- JotForm SupportdavidAnswered on December 17, 2015 at 02:15 PM
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.
- AA_CAnswered on December 17, 2015 at 02:21 PM
OK, I appreciate what your saying. I will give it a go...Ho Ho. And talk to others.
Much obliged. Robert