Hello,
I'm creating a survey in Connect to use as a vehicle mileage log. Under Trip Details, the Date/Time are automatically entered. Then I have mandatory fields of Beginning Odometer Reading and Ending Odometer Reading, along with other information. I want the Beginning Reading to be automatically entered based on the previous submitted survey's Ending Reading. Is that possible?
Hello @enlargent,
You can use pulldata("@layer") to pull the previous submitted survey and populate the Beginning Reading with the value from the Ending Reading. We have a sample in Survey123 Connect called Query a Feature Layer that will help with understanding the syntax of the pulldata("@layer") function. Please also see our Esri Community blog and documentation for more information.
Thank you! I'll give that a try!