Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Facing problem While deleting rows and adding rows


Not applicable

In my form i have pass values to table rows by selecting values from Dropdown list.

i have taken 3 hidden obj and passing the dropdown values to hidden objects and then from hidden objects to table rows.

h1,h2,h2 are hidden obj


i have add button with the following code

if(form1.P1.ItemSet.EMPNO.rawValue != null){



var dynamicArray = form1.P1.resolveNode("ItemSet[" + arrayIncri + "]");

dynamicArray .EMPNO.rawValue = form1.P1.hidden.h1.rawValue;

dynamicArray .EMPNAME.rawValue = form1.P1.hidden.h2.rawValue;

dynamicArray .DESIGNATION.rawValue = form1.P1.hidden.h3.rawValue;


form1.P1.SF1.EmpID.rawValue = null;

form1.P1.SF1.EmpName.rawValue = null;

form1.P1.SF1.Designation.rawValue = null;


My delete button code is



My problem is adding is happening while click and deleting is happening to the perticular row but once i delete paricular row then again if i want to add new row then it is taking null values . and agian if i click add then the values are passing to the next row

means i am getting null row if i do add funtionality after delete funtionality....

Please help me out in this..

Subba reddy
0 Replies