Adding a row to the repeater

Hi,

I need to add a row to the repeater with the order details. I had done the same thing earlier for the Product details in a different project. It worked then.

All I did was, placed a text field and a button. Entered a detail of the product in the text field and when the button is clicked, a field is added to the repeater an it is populated with the text entered in the text field, This happens dynamically.

Below is the code added to the ‘onDoubleClick’ event of the button in case1

Add Rows 1 to (Repeater)
Set text on (Text Field) equal to “”

Setup the page layout on Repeater style tab, selected ‘Horizontal’ radio button and mentioned items per row.

The issue I am having now is, it is now not working for the order details. Everything is similar to the Product details setup and code but it is’nt working now.

Can anyone please help me with this. Or is there a way where I can copy a page from one project to a different project ?
That way, i want to copy the Product details page to the new project and make the necessary changes to accommodate the order details.

Any help is greatly appreciated.

Thanks,
Vidya

Hi!

I’m guessing you aren’t permitted to post the file, but can you post a screenshot of the expression (in the “fx” window) for the Add 1 row command? Please include any local variables in that window in the screenshot.

Hi Joseph,

Thanks for your quick response. I compared the fx page and see that the variable was not inserted there. I added it and it works fine now.

Thanks again.
Vidya

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.