Hello. I have a field called date_time that records when the article was saved, it works well, but in some cases with repeatable fields, the date returns empty, and as the field is hidden, the user will never be able to save the article with the empty field . I'm sure it is possible to record predefined dates or data in the field's php validation, but I don't know how.
Can anybody help me?
I need a way to record the shipping date or any other data I need.
For example:
IF the date_time field is empty, record 2020-09-11 13:30:30 ( Example only, the time would be the current time that the article was recorded )
ELSE keep same date as before
That way I can better control the various fields with fixed data that I will have hidden in the repeatable groups.
Can anybody help me?
I need a way to record the shipping date or any other data I need.
For example:
IF the date_time field is empty, record 2020-09-11 13:30:30 ( Example only, the time would be the current time that the article was recorded )
ELSE keep same date as before
That way I can better control the various fields with fixed data that I will have hidden in the repeatable groups.
Last edited: