Hello! Anybody know the right way to add group of elements by clicking button on the same form?
Ok. So... I have a form with the two fields for one user competency: Course and Test. A user chooses these fields and submit data. It is all right with it. The trouble in that I need to user will have a posibility to add more tests to one competency. I do not understand how to make a button in the form that will create the new fields pair: Course and Test.
Like Tim says, the repeat elements, there are quite a few examples in the quiz question type code.
Thanks, Markus. I did it. Initially when I bumped with the article I made conclusions that the repeat_elements is just creates a variable of elements' group. I could not assume that this command draws the fields on the form and adds a button there