# AWS - Repeat groups

**URL:** <https://forums.digi.com/t/aws-repeat-groups/5487>\
**Category:** NET+OS\
**Created:** [May 20, 2005, 10:00am UTC](https://forums.digi.com/t/aws-repeat-groups/5487 "2005-05-20T10:00:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdemets](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@kdemets](https://forums.digi.com/u/kdemets)\
**Post date:** [May 20, 2005, 10:00am UTC](https://forums.digi.com/t/aws-repeat-groups/5487/1 "2005-05-20T10:00:49Z")

</div>

Hello,

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[0]. Pressing a ‘submit’ button on the page to update the values in the form, I must use the indices found in theIndexValuesPtr[1] 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[0] for both the Get and the Set functions of a form input field.

The HTML tags I use are:

…
