Hello! I am trying to use a choice filter in a web form (created in Survey123 Connect) but am receiving the following error:
FormLogicError: Could not evaluate: /model/instance[@id="dept"]/root/item[selected( /model/instance[1]/DECO_Request_Form___Draft/division , division)], message: Cannot read properties of undefined (reading 'toString')
The function works in Survey123 Connect just fine. Excel spreadsheet is attached. Thanks for any help!
Solved! Go to Solution.
I think the issue is the column called “division”…I had the exact same column name, changed it to something different, and it worked…I’m lucky I found this thread. The string “division” must be reserved.
My guess would be the comma in the choice list here Planning, Trails and GIS. Try it without the comma and see.
Hope that does it
Thanks for the suggestion! Sadly, no luck. I also removed the apostrophe in General Manager's Office, but that didn't do the trick either.
I think the issue is the column called “division”…I had the exact same column name, changed it to something different, and it worked…I’m lucky I found this thread. The string “division” must be reserved.
Aha, that makes sense! Thanks for responding!