Hello,
I am creating a survey to map open beds in the Personal care homes (PCHs). The survey will be using static locations of the PCHs. I linked data from a .csv file into the survey media folder which contains data such as prime contact name, prime contact email, and facility location (latitude, longitude). To fill out the survey to map open beds within the PCHs, the users will need to choose name of the PCH from a drop down question and in the next question they will need to enter the number of open beds.
I want to incorporate an error check system (via warning message) into my survey which will detect if the user is choosing the right PCH from the drop down. In other words, I do not want any user to choose the wrong PCH and enter data on his/her behalf. Through the .csv file each user's email ID is already linked to the survey which could also be retrieved automatically when a user fills in the survey (using same email ID in my case since the survey is available only to the licensed users). I am trying to create a warning message check to detect and pop out a warning message when the user's email (submitter email) is not same as the his/her .csv linked email (Prime contact email). Pleas note that the submitter's email question is a calculated one via pulldata("@property","email") which automatically pulls the email of the licensed user when he/she fills the survey.
Please refer the screenshot below:

The code in bind::esri:warning is not working. Could anyone please suggest the right code/process to accomplish this?