I’m building an embedded web server using the AWS tools (PBUILDER). I have a problem when using repeat groups with dynamic form input items. The first time the page is called, the index for the Get functions (generated by PBUILDER) is found in theIndexValuesPtr. Pressing a ‘submit’ button on the page to update the values in the form, I must use the indices found in theIndexValuesPtr to store the data. For every subsequent Get/Set the indices to use are found in theIndexValuesPtr[k] where k is incremented every time the submit button is pressed. How can I make sure the indices are always found in theIndexValuesPtr for both the Get and the Set functions of a form input field.
The HTML tags I use are: