Having a list in your controller that is displayed as input fields either through pageblock or repeat and you need to add another row to the list via a button. Â Chances are when you enter data on any input field on any row and you hit Add Row button that has a rerender attribute that makes the ajax call, the previous entered data will be lost as per code sample below.