How do I sent a field not to be seen in the form

  • Profile Image
    ppsa
    Asked on October 05, 2013 at 12:16 PM

    Hi!

    I did it ones, but i can't remember what i did. On my for I don't want the date and time to show when they are looking at the form. What are step to make any field not seen?

    Like Always

    THANK YOU VERY MUCH!!

    JohnV

  • Profile Image
    pinoytech
    Answered on October 05, 2013 at 12:33 PM

    Hi John,

    In order to achieve, you need to use custom css and inject in to your form.

    Here's the code:

    #id_27 {

    display: none;

    }

    http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    To see how it works, please take a look at this clone form: http://jotformpro.com/form/32774882679979

    If you need further assistance, please let us know.

    Thank you!

  • Profile Image
    ppsa
    Answered on October 05, 2013 at 06:31 PM

    How did you find the name of that area? In this case it was #id_27. I went to show properties so this:     #month_27, #day_27, #year_27, #hour_27, #min_27, #ampm_27, but nothing with #id_27.

    Thanks.

    Your suppport on this website ROCKS!!! Keep up the great job.

  • Profile Image
    EltonCris
    Answered on October 05, 2013 at 08:25 PM

    Hi,

    Great, thanks for your feedback.

    The IDs you see on the properties is the ID on each of the date elements so you can hide them piece by piece. However, if you'd like to hide them all, just took the _27 and add id before it so it becomes id_27. To use it in CSS, IDs requires hash tag for it to work so it becomes like this: #id_27. This is the tricky way.

    However, here's the actual and proper way of getting field IDs. If you're using Google Chrome or Firefox, there's a right click menu called "Inspect Element" which conveniently enables you to view the source code of the page. Here's a visual guide:

    Hope this helps. 

    Cheers!