Input Field Validation Referencing a Collection

Hi there,

I’m trying to create a simple process. It goes like this: A user inputs an answer to a question into an input field, and if the answer is correct a next button is enabled taking them to the next item in a Collection. So, obviously this all needs to be tied to a dataset, including the correct answer validation. I’m not sure how to do any of this.

  1. I need the input form to compare the users answer with the “Answer” column in the Collection. If it’s incorrect it will show a validation message that says incorrect.
  2. I need the next button to be disabled by default, then enabled if the answer is correct.
  3. I need the next button to be linked to the Next Item in the Collection.

Do you have any code examples or a complete code for me to use. I apologize I’m not too savvy with this.

Anything is greatly appreciated.

Cody

1 Like