Insert date when the submission is edited

  • aitzaouit
    Asked on June 19, 2020 at 4:23 AM

    Dears.

    I want to create a form as TAG, where I can put some issues detected, and then an email will be sent to concerned person.

    when he will edit the submission by closing the TAG, I need to know the opening date and closing date of my TAG.

     

    Kind regards.

     
  • Bojan Support Team Lead
    Replied on June 19, 2020 at 6:20 AM

    Greetings and thank you for your message.

    To achieve this, you need to add Get Form Page URL widget to your form. Then you need to add two date fields with enabled time, and the default value to current.

    To set the date to the current one, you can go to the Options tab:

    Insert date when the submission is edited Image 1 Screenshot 60

    To enable the time and set it to the current one, go to the Time tab:

    Insert date when the submission is edited Image 2 Screenshot 71

    If you wish to disable these fields so users are not able to update it, you can go to Advanced tab:

    Insert date when the submission is edited Image 3 Screenshot 82

    After configuring the fields, you need to add the condition to check if the current URL contains the word Edit. If it does, the second date field should be visible. To get started, go to the form settings, open Conditions from the left menu, and add Show/Hide field condition:

    Insert date when the submission is edited Image 4 Screenshot 93

    From there, create the following condition:

    Insert date when the submission is edited Image 5 Screenshot 104

    Since hidden fields will not be sent by default, the first time you will see only the first date. When the form is edited, you will see both dates. 

    Let us know if this solution works for you.