AnsweredAssumed Answered

Performing calculations only if fields are "empty"

Question asked by geethaka.fernando_ACTGOV on Mar 9, 2018
Latest reply on Mar 14, 2018 by geethaka.fernando_ACTGOV

Dear Survey123 community,

I have a couple of "dateTime" questions with calculations alongside them to assist users.


And in some case the users may manually overwrite these values before submitting.

But, if an user were to view one of those surveys from their 'inbox or sent folder,' it'll display the calculated value, rather than what was submitted.


So, I was wondering whether it is possible to ONLY perform a calculation, if the respective field is empty.


Attached below is a sample calculation.

date-time(decimal-date-time(today()) + 15.29166669)