Im currently creating a little moodle plugin , its a question form with multiple choice checkboxes. My problem in the Modform i want to let the creator of the Activity to change the amount of Text Input Fields with the Get parameter &fields=x but when i submit the form it only sends the first field.
But, when i create the loop with a hardcoded amount of iterations it sends all fields.
Is this somehow a securty measure or what is the problem ?
Sry if it´s a stupid question but im pretty new to moodle plugin development.
Ps:In the file i appendet i tried a workaround but it wasn´t sucessfull.