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.
Related to the 'Copy sent data to a new survey feature' it appears it copies over the x,y location of the copied survey as well. Thus stacking points on top of one another vs recording new location. Is this a known or expected limitation of the function?
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?
My question is the same as @SarahPC . We would like to allow for the copy a sent survey to a new record but would like one column to not retain the copied value (our inspection key value column). Is there any method to support this functionality?
@JamesTedrick I changed my field type to start but when I use "copy the sent data to a new survey" it retains the date and time of the copied survey. This is using now() as default. Is there anything else that needs to be set?