I need help with an if/then calculation in a survey used with edit url parameters. The ${STREET} field is already populated and the ${ST_ANSWER} field is a single choice option. The user selects the feature on the map, then chooses their ST_ANSWER from the dropdown menu. If the selection is equal to the STREET already populated for that record, then I want the result to be 1, if not, then 0. The below is one of many I've attempted, but closest to what I thought would work. Any assistance is appreciated! Thanks!
if(selected(${ST_ANSWER}=${STREET}),'1','0')