Moodle form API issue with more than 5 textboxes

Moodle form API issue with more than 5 textboxes

by aswathy p -
Number of replies: 2

Hi,
Currently I am using Moodle 3.11, I am facing an issue like 
When i create moodle form with 5 or more text boxes, in $mform->getdata() ,
is not returning the textboxes after 5th one.
I dont know whether this issue is fixed in later versions, 

The text boxes are added as loop


Kindly guide



form image

submit

Average of ratings: -
In reply to aswathy p

Re: Moodle form API issue with more than 5 textboxes

by Conn Warwicker -
Picture of Core developers Picture of Plugin developers
Can you provide the code you are using to generate the fields? Ie. the `definition()` method of your form class.
In reply to Conn Warwicker

Re: Moodle form API issue with more than 5 textboxes

by aswathy p -
Hi Conn,
Sorry for late reply. The issue was solved . It was a mistake. some wrong id was accepting within the definition.

Thank you