Hello Guys
I have created a CRUD form connected to an Excel online file (that it will be moved to a Sharepoint list, I'm just designing the app) and it has 2 date fields that I need to work in the next way:
Creation date: stores the date and time automatically when the form is submitted. It will never change.
Modification date: updates the date and time everytime a user edits a register.
I was trying to use the next statement in the Default value for each field:
Creation date: If(Form1.Mode = FormMode.New;Now())
Modification date: If(Form1.Mode = FormMode.Edit;Now())
This partially works, however the problem is that when the user edits a form, the "Creation date" field gets erased. How can I complete the statement in a way that leave the field as it is (leave it untouched) in case the condition is not fulfilled.