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.


  • Profile Image

    Problems with restricting access via a form field

    Asked by andrefrancis on May 10, 2012 at 02:44 AM

    I have already submitted this query under title 'Password problem' ... but I can't find it any more. So, I am resubmitting under a different title.

    My form has one input field and one submit button, which is conditioned to be hidden until a particular keyword is entered in the field. Essentially my form is intended to control unrestricted access to a particular page

    Problem 1: The button shows briefly when the form is first loaded ... but it shows long enough for anyone to be able to press it without entering anything into the field. How can I prevent this from happening?

    Problem 2: I compare the field entry with the keyword, which means that anyone viewing the source code can clearly see what the keyword is! Is there any way of preventing this ... such as encrytion?

    My form is: http://form.jotformeu.com/form/21277275893363


    TIA

    Andre Francis

    Page URL:
    http://www.andrefrancis.com/Saturday_Singers/test.html

  • Profile Image
    JotForm Support

    Answered by jonathan on May 10, 2012 at 07:39 AM

    Hello Andre,

    Problem 1: The button shows briefly when the form is first loaded ... but it shows long enough for anyone to be able to press it without entering anything into the field. How can I prevent this from happening?

    I could not reproduce this behavior... You form is very simple and it loads incredibly fast even for my lowly ISP. I actually could not give a concrete resolution since I could not experience it. I do however noticed an injected CSS code in your form regarding the sub-label width, could you share what its purpose was for?
    We want to lessen the form's scripts rendering as much as possible. Eliminating some residual script can also help rendering efficiency.

    Problem 2: I compare the field entry with the keyword, which means that anyone viewing the source code can clearly see what the keyword is! Is there any way of preventing this ... such as encrytion?

    Unfortunatelly, this is how the application behave. Since these are web forms, the reliance to other interpreted programming languages for it to work is required. Simply put, this is not a compiled binary application.(example: compiled applications normally have executables like the '.exe' or .dll extensions). You can easily see the source code of the form being they are just ordinary text code.

    I do need to inquire if you are planing to use the 'verification form' as an embedded form in your own website. I tested it, and when I click on submit it redirect me to Members page website (which I assume you also have access).
    Because if this is the case, we can actually solve both 1 & 2 by using some custom server-side scripts on the 'verification form' when embedded using the source code method.
    The only drawback here is you will need to have a server side language installed on your server like PHP. 

    Please inform us if you have further inquiry. Thanks.

     

     


  • Profile Image

    Answered by andrefrancis on May 10, 2012 at 06:41 PM

    Thanks Jonathan. I think I have got the idea now, but I need to enquire re PHP and talk to a programmer that I know. I will return here with any further questions.

    To answer your questions, yes the 'verification form' is embedded in my website and I have set up the members page ready to hold info once the whole thing is working. It seems that there is a way through once I get my head round it.

    Thanks ..... Andre

    PS Of course the easy way out of this is to simply send all users a url to the members' page ... but I do really want to understand some of the problems and get to the solutions using the 'verification form' approach  ;-)

  • Profile Image
    JotForm Support

    Answered by jonathan on May 10, 2012 at 06:50 PM

    Thank you for updating us Andre.

    Please do update us again when you had setup everything. 

     

    P.S.

    I check the Home page of your site. Personally speaking, I like it very much =). 
    It look like a very personal site and seems to reflect the goodness of the owner.