Hidden field is being displayed on continue session

  • Profile Image
    adea
    Asked on March 27, 2020 at 04: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?


  • Profile Image
    Mike_G
    Answered on March 27, 2020 at 06: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.png

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

    1585347246zt18_13_55.png

    instead of this

    1585347331zt18_15.gif

    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.