I am currently working on building a keyword definition app in which people can open a subject, say Geography, and then be able to see keyword according to the topic given in a list picker. I would also like there to be an option where they would be a to view all keywords for the subject. I have managed to program one for the user viewing all keywords, but am struggling to program one for viewing keywords based on a particular topic from the list picker. The definitions are stored in a Google sheets database. I’ve attached a screenshot of my code below..
The “Geo_topics” is my list picker and when I select a topic using that, it shows up a runtime error or sometimes the argument is not valid error. How can I fix that?