cancel
Showing results for 
Search instead for 
Did you mean: 

Data inserting two times in a table when i click submit button

pradeep_kumar5
Active Participant
0 Kudos

Hi Experts,

I had a problem, when i am inserting data in a table from a form at the first time when i click button it adds two times, afterwards it is adding one time only, the form and table are from same value node (table is collection cardinality : 1..n and selection cardinality is 0..n) i don't understand why it is happening here?

Regards,

Pradeep Kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

set the collection codrinality to 0-n and have a separate node for table so that u can perform the operation on it easily otherwise form and table will be impacted at atime fro the same actions.

Regards,

Govindu

Answers (3)

Answers (3)

pradeep_kumar5
Active Participant
0 Kudos

hi Govindu,

Thanks, U solved my problem.

Regards,

Pradeep

Qualiture
Active Contributor
0 Kudos

Hi Pradeep,

Maybe it's a rendering issue? Can you check if your wdContext.node<YourNode>.size() is actually incremented by one, instead of two?

Best regards,

Robin van het Hof

p330068
Active Contributor
0 Kudos

Hi Pradeep,

Please check the method for inserting data in a table. May be method is called two times.

Post your code here to look into it.

Best Regards,

Arun Jaiswal