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

    Is there a way to "hide" text that is being typed into a form field?

    Asked by townpark on September 12, 2014 at 08:44 AM

    We are trying to make a portion of our form "password protected" by using an "IF" condition.  Meaning IF field name "Passord" equals "XXXX", then show the SUBMIT button.

    I tried looking for a widget that would accomplish this, but couldn't find one.  Is this possible?  Do you have a field property or a widget that can do this?

    EXAMPLE:

    Name of Field          Typing Result

    Password                12345

     

    Name of Field          User Sees This

    Password                *****

     

    (If you click on the link to my form below, you have to choose "Cash/Check" to see the "Password" field.)

    Thanks so much!

    Alissa Kline

    Page URL:
    http://form.jotform.us/form/42441114567147

    hide text password protect
  • Profile Image

    Answered by jedcadorna on September 12, 2014 at 10:08 AM

    I'm sorry but making a password is not allowed. You'll be detected by our anti phishing tool and your account will be suspended. You can use conditional logic to hide and show fields but making a password field is strictly prohibited.

    Jotform doesn't allow fields like password, username etc. or any thing that might be used for phishing. Please review our terms of use.

  • Profile Image

    Answered by townpark on September 12, 2014 at 10:16 AM

    I don't understand why that is not allowed?  We want users to be able to give payment by check, but in order to control that, we want a field that "authorizes" the submission?

    Please explain.

    Thanks,

    Alissa Kline

  • Profile Image

    Answered by jedcadorna on September 12, 2014 at 10:29 AM

    Technically password field is not allowed. If your form is not detected by our phishing tool then we have a form reviewers that reviews forms and if they found your form containing a password field then they might suspend your form because this violates our terms of use.

    The reason behind that is in the past a lot of users abuse the forms and use it to phish information that is why Jotform no longers allows password field. If you want to put password field in your form you might want to rename it like code, ID, UserKey, UserCode.

    Once you have changed the name of the field. You can inject this code to hide the value of the entered text.

    #input_70{-webkit-text-security: disc;}

    Here's a guide on how to inject a CSS http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes.

  • Profile Image

    Answered by townpark on September 12, 2014 at 10:53 AM

    OK, I changed the name of the field to "Attendant".  We certainly don't want to have our account or form suspended.  Can you please review the form to see if it complies with your terms and conditions?  We have been testing the form, so none of the submissions are real yet.  Please feel free to fill out the form and choose "Cash/Check" as payment and let me know if the way we are using the field violates your terms...

    Thanks,

    Alissa Kline

  • Profile Image

    Answered by jedcadorna on September 12, 2014 at 12:03 PM

    I can see that your form is good. About the CSS I have provided earlier when I was searching online it seems that it is only supported in chrome and safari browser. That means when you apply that code if user views your form in firefox then the 'Attendant' text will be displayed.

    I don't see any other way of masking the text to hide the value other than downloading the form source and setting the input field type as 'password'.

  • Profile Image

    Answered by townpark on September 12, 2014 at 12:37 PM

    OK, so when you say "I can see that your form is good." are you saying that we are okay and are NOT violating your terms?  I just want to confirm...

    Also, are you saying there is a field type "password"?  If so, how is that possible when you don't allow passwords?

    Thanks again,

    Alissa Kline

  • Profile Image
    JotForm Support

    Answered by KadeJM on September 12, 2014 at 02:48 PM

    To clarify your questions -

    As long as you aren't using a password or username on your form " to be collected as data" you're fine as that is what violates our terms of use since it's considered as sensitive information.

    Additionally no we do not support "password fields" because of this since it is a risk.

  • Profile Image

    Answered by townpark on September 12, 2014 at 03:16 PM

    OK, great!  Thank you so much! 

    Greatly appreciate your help!

    Alissa Kline

  • Profile Image
    JotForm Support

    Answered by KadeJM on September 12, 2014 at 04:17 PM

    You are very welcome. :0)

  • Profile Image

    Answered by townpark on September 12, 2014 at 07:10 PM

    OK, so I have a question for you...

    I suppose you can see what we are trying to accomplish with this "password" field...  However, being Devil's advocate and only have some knowledge of HTML, I took a look at the source code for our form to see if the so called "passwords" were visible and THEY WERE!!!!

    Do you have any suggestions on what we can do to prevent fraud and protect our form from someone figuring out this "password" and getting a pool pass without paying for it?

    Any suggestions would be greatly appreciated!

    Thanks,

    Alissa Kline

  • Profile Image
    JotForm Support

    Answered by Welvin on September 12, 2014 at 09:22 PM

    Hi Alissa,

    I've moved your question into a separate thread, please kindly check it here: http://www.jotform.com/answers/428193. We'll answer it shortly.

    Thank you!