Hey guys! Scratching my head at what I’m doing wrong. Trying to create a voter registration search for my Tribal community and I keep running into dead-ends with my code.
Here are my current goals:
1. Create 3 user search inputs (first name, last name, and enrollment number)
2. Perform a query on our Registration Database (fn, ln, en, and community)
> If it finds it, redirects to a hidden page where it displays the above information and the voter’s registered community.
> If it doesn’t find it, simply pulls up an error message that says it cannot find the information because 1. they either filled out the information wrong 2. are not registered to vote.
Here is my code:
I’m getting an error with that value portion and I’m not sure why. I have my search button property ID title searchBar.
Any help with my code above or just in general would be greatly appreciated. Thank you!