I have a date field in my survey that I would like to keep hidden. I am using a calculation on the field now(). However if a user does a "copy the sent data to a new survey" the date and time does not update to what is the current time should be. It keeps the date of the survey being copied. Is there a way to turn OFF copy the sent data while still allowing the surveys to be saved to the device? Sometimes the user needs to edit an already sent survey so that function is critical to keep. OR is there a way for the date field to update when a "copy the sent survey" is created?
When a survey with existing data (such as the Inbox or copied from the Sent folder) is opened, the values are compared to the calculations - if they differ, the value in the form is retained (this usually indicates a user change of value).
For your situation, it sounds like you want to record the time a survey starts. It would be more appropriate to use a question of type start rather than a calculate/hidden with now(). Refer to the 'Metadata' section of XLSForm essentials—Survey123 for ArcGIS | Documentation
As I mentioned above, that is the intended behavior of the field app - the existing date time value is preserved as it differs from what the calculation 'now()' would be. I would suggest changing it to a 'start' question.
Hi @JamesTedrick , to follow-up. I have a similar issue where I am wanting to copy a previous inspection to a new record (including related data) and it works, however there are several fields I would like to not copy. Rather adhere to defaults or a calculation. Such as date, survey round and surveyor etc. Is that someway of limiting what fields in a survey are copied over?