- Andre FrancisAsked on May 09, 2012 at 02:40 PM
I am using a simple form (1 input box and a submit button) to control access to a restricted page on one of my websites.
This is my form: http://form.jotformeu.com/form/21277275893363
Essentially the button takes the user to the restricted page. Thus, I want the form to appear without the 'Submit' button and to show only when the user has keyed in the 'password'.
On the face of it, the form seems to work ... but there are 2 major problems.
Problem 1: When the form firsts loads, the submit button shows briefly - about 1.5 seconds - but long enough for anyone to be able to click it. This of course defeats the object of the form! The button should be completely hidden until the correct ID is entered. I originally thought that I had the problem solved by using an iFrame, but alas on some computers on particular browsers the problem persists. Is there a foolproof way of organising the button not to show when the form is loaded?
Problem 2: Because every entry into the box is checked against the password, the password is clearly visible when the source code is viewed. Is there a way of encrypting the password ... so it doesn't show when the code is viewed?
The password is 'satsingsatb' ... although you can see it by viewing the source code!
- andrefrancisAnswered on May 09, 2012 at 03:36 PM
Problem 1 seems to have gone away. Curious!
Problem 2 is still a problem though.
- andrefrancisAnswered on May 09, 2012 at 03:38 PM
No ... I'm wrong ... Problem 1 has come back again!
- JotForm SupportMike_TAnswered on May 09, 2012 at 06:37 PM
Thank you for contacting us.
I am afraid that you can not hide the password with Show / Hide a form field conditions.
Alternatively, you can use Change Thank You Message/URL conditions + your existing Custom URL Thank You Page.
In that case your password will be hidden, but user will have to click on Form Submit button to check the result.
Please feel free to contact us if you need any further assistance.
- andrefrancisAnswered on May 10, 2012 at 02:52 AM
Thanks Mike_T. I am not quite sure I understand how this would work for me. I need to think about it.
I still have a problem with the submit button showing briefly when the form first loads.
Also, I am sorry, but I have re-posted the question with different title and words ... since I originally didn't see your response.
- JotForm SupportjonathanAnswered on May 10, 2012 at 08:31 AM
I actually was got by your 'other' post http://www.jotform.com/answers/98479-Problems-with-restricting-access-via-a-form-field#1
Please use this post from here on when proceeding. Update us when you can.
- andrefrancisAnswered on May 10, 2012 at 06:47 PM
OK ... thank you.