Hi,
I'm trying to create a form using a multiplier which all appears to be working - I can add/remove rows and the data is sent to the server on submission.
However in the case where the server side data validation fails and the user is redirected to the form to correct the data, the multiplier only shows the first row and doesn't display the additional rows - it looks like the original form with a single row. I'm not sure how to dynamically add the required number of rows to display the data.
If I hardcode the form to display additonal rows (eg 3) then these are populated with the data that was submitted so I know the data is coming back from the server, but I can't seem to get the form to display all the rows returned from the multiplier.
I'm guessing there might be some javascript I could add to determine the correct number of rows and add them by simulating clicking the "add" button but I'm not sure if that will add new rows and not populate with the existing data.
Any assistance would be greatly appreciated,
Thanks in advance.
I'm trying to create a form using a multiplier which all appears to be working - I can add/remove rows and the data is sent to the server on submission.
However in the case where the server side data validation fails and the user is redirected to the form to correct the data, the multiplier only shows the first row and doesn't display the additional rows - it looks like the original form with a single row. I'm not sure how to dynamically add the required number of rows to display the data.
If I hardcode the form to display additonal rows (eg 3) then these are populated with the data that was submitted so I know the data is coming back from the server, but I can't seem to get the form to display all the rows returned from the multiplier.
I'm guessing there might be some javascript I could add to determine the correct number of rows and add them by simulating clicking the "add" button but I'm not sure if that will add new rows and not populate with the existing data.
Any assistance would be greatly appreciated,
Thanks in advance.