Hidden field is being displayed on continue session

  • adea
    Asked on March 27, 2020 at 4:24 PM

    I wanted to have a read only date/time field and read on the support forum that the best way was to add the date time field and hide it. Then add a text field, name it date and then read the data from the date/time field into the new date field(this was done with a condition).  It works well the first time the form is used.  However, we are allowing people to save and come back later when completing the form.  If they do that and then edit their submission the extra field shows up.  How can I get that not to  happen?


  • Mike_G JotForm Support
    Replied on March 27, 2020 at 6:25 PM

    The Date field in your form can be set as "read-only" so respondents would not be able to update it.

    1585347156zt18 12 08 Screenshot 10

    But, if you are really looking to have the Date field in you form to appear like this

    1585347246zt18 13 55 Screenshot 21

    instead of this

    1585347331zt18 15 Screenshot 32

    Then, you can keep your current workaround you have in your form to show a date field.

    As for your other concern, the best solution is to hide the Date field using custom CSS codes that can be injected into your form.

    How-to-Inject-Custom-CSS-Codes

    Here are the codes that you will inject.

    li[data-type="control_datetime"] {

        display: none !important;

    }

    Please give it a try and let us know if you need any further assistance.