How Can I Reset Input Values in an Inner Repeat?

I have a structure in my HTML like this, where attendees.data is a data store:

repeat attendees.data
   button start_again
   input i_name
   repeat questions
      input i_question
   button add_new_attendee
   button complete_form

(note that nothing here is within a <form> structure)

When the button start_again is clicked, I want to reset the values of input i_name and each of the i_question responses.

Resetting the value of i_name works okay with the syntax:

i_name.setValue('');

Because it is in the same level of repeat hierarchy as the button.

My question is what syntax can I use to reset the value of each of the i_question inputs which occur within this specific repeat of attendees?

Community Page
Last updated: