Greetings,
I am trying to autofill a question in a survey form following a repeat (as a display for the user) essentially accessing the decimal value of a field in the repeat (any of the green fields, if it meets the criteria of a "station_type" (red) field within the repeat. There is only 1 record within the repeat that will meet the criteria of the of the "station_type" field. It sounds confusing, but I think it could be easily done with a javascript function. I'm having trouble working with the array from the repeat properly, and have zero experience with javascript.
If there is an easier way to do this without javascript please let me know (I have tried a lot of different things).
Thanks in advance!
Solved! Go to Solution.
If I'm understanding correctly....is this something you can do with the "indexed-repeat" functionality?
If I'm understanding correctly....is this something you can do with the "indexed-repeat" functionality?
Yes! I had just resorted to that function. Thank you!