Select to view content in your preferred language

Readonly Text Field with DateTime Calculation is not calculated in Survey123 Web

656
2
Jump to solution
04-19-2022 07:10 AM
AngelRomoSandoval
Regular Contributor

Hello,

I have a Feature Class with a Survey created in XLSForms with a Field with name TextFieldX with the following characteristicis:

  • Readonly: YES
  • type: Text
  • Calculation: ${DateTimeFieldX}, '%e.%n.%Y%'  *The Calculation reads a DateTime Type Field.

The field TextFieldX is calculated without problems automatically in Survey123 Android APP but does not work in Survey123 Browser. (Is empty).

I think is a bug.

Any recommendation...?

 

 

0 Kudos
1 Solution

Accepted Solutions
IsmaelChivite
Esri Notable Contributor

Hi. The problem is the % sign at the end. Survey123 Connect is more tolerant than the web app. Try

format-date(${mytime},'%e.%n.%Y') instead.

IsmaelChivite_1-1650391806089.png

 

IsmaelChivite_2-1650391892736.png

 

 

 

 

View solution in original post

0 Kudos
2 Replies
IsmaelChivite
Esri Notable Contributor

Hi. The problem is the % sign at the end. Survey123 Connect is more tolerant than the web app. Try

format-date(${mytime},'%e.%n.%Y') instead.

IsmaelChivite_1-1650391806089.png

 

IsmaelChivite_2-1650391892736.png

 

 

 

 

0 Kudos
AngelRomoSandoval
Regular Contributor

Ups, that was a very easy error, thanks, Ismael.

0 Kudos