cancel
Showing results for 
Search instead for 
Did you mean: 
venkadaru
Nintex Newbie

Want to add a new row to a Nintex forms Repeating section through JavaScript method scenario: I have a db that have a products. when user search for a product in a nintex form textbox it will call the web api through javscript and display those results i

Jump to solution

Want to add a new row to a Nintex forms Repeating section through JavaScript method

scenario:

I have a db that have a products. when user search for a product in a nintex form textbox it will call the web api through javscript and display those results in panel. When user selects particular product it has to add that particular product to the repeating section row (like adding child items to the parent element)

can you please suggest how to add rows to a repeater control through javascript method instead of adding through the repeater control add new row link button

0 Kudos
Reply
6 Replies
jpmhuls
Nintex Newbie

Re: Want to add a new row to a Nintex forms Repeating section through JavaScript method scenario: I have a db that have a products. when user search for a product in a nintex form textbox it will call the web api through javscript and display those resul

Jump to solution

Hi Prasanth,

Just thinking out lout here: have you considered/investigated if you could populate a choice dropdown list with the database products in the repeating table using JavaScript and then have the user use the Repeating Section controls to add new rows and select the product from the dropdown? If necessary you could add a text field in the repeating section that filters the items in the dropdown list.

KR

Reply
Highlighted
Automation Master
Automation Master

Re: Want to add a new row to a Nintex forms Repeating section through JavaScript method scenario: I have a db that have a products. when user search for a product in a nintex form textbox it will call the web api through javscript and display those resul

Jump to solution

you can do it eg following way

NWF$(".RSClass a.ms-addnew").click();

RSClass is CSS class set for repeating section control

View solution in original post

Reply
venkadaru
Nintex Newbie

Re: Want to add a new row to a Nintex forms Repeating section through JavaScript method  scenario: I have a db that have a products. when user search for a product in a nintex form textbox it will call the web api through javscript and display those resul

Jump to solution

Thanks Marian,

I have tried like below

 NWF$('.rsPO').find('a').click();

0 Kudos
Reply
Automation Master
Automation Master

Re: Want to add a new row to a Nintex forms Repeating section through JavaScript method  scenario: I have a db that have a products. when user search for a product in a nintex form textbox it will call the web api through javscript and display those resul

Jump to solution

so can the question be closed?

0 Kudos
Reply
venkadaru
Nintex Newbie

Re: Want to add a new row to a Nintex forms Repeating section through JavaScript method scenario: I have a db that have a products. when user search for a product in a nintex form textbox it will call the web api through javscript and display those resul

Jump to solution

Yes,

please close the ticket

0 Kudos
Reply
Automation Master
Automation Master

Re: Want to add a new row to a Nintex forms Repeating section through JavaScript method  scenario: I have a db that have a products. when user search for a product in a nintex form textbox it will call the web api through javscript and display those resul

Jump to solution

you're author of the question, you should select that helped you and mark correct answer.

0 Kudos
Reply