Problem with coding the limitation of the users inputs

for some reason when I type in a location from the list and a number greater than 14 the notifier pops up saying "location not found," (which should be the response when the location does not match the locations in the list). Also the notifier that says "need to be 14 or older" never pops up either. What should I do differently?

Welcome to the community. The problem occurs cause global location is a list so in order to check if citytext.text is in list or not you must use is in list? thing block like in the picture below. Also what you want to happen when location is not in that list ? Do you want to add it to the list or not ?

When the location is not in the list I want a notifier saying that there's no location found and don't want it added to the list.

Try this and see if it works for you

TEST1.aia (4.1 KB)

Thank you so much! It worked perfectly!

1 Like