First of all - hello to all the community members...
With Ron's help, I was able to setup java script on my initial entry form to take the Name and Value data from a set of cascading lookup fields and populate them into text fields for easy use and data continuation on later forms. Worked like a charm!
Now I am on a later form and have a pair of cascading lookup fields that are on a repeating sub form.
I need to do the same thing for both sets, but have run into a problem - how do I designate the individual rows in the java script? Again, with some help from Ron, we were able to get the first row data to populate by defining the row number (see script below).
How do I capture the specific row number as a variable and feed it into the java script to make this work for multiple rows?
By hard coding the row number to 1 (RequestedItems/BuyToAccount:') we got results.
thanks in advance!!
var DDLValue = $(res.data).find('option:selected').attr('value');
var DDLName = $(res.data).find('option:selected').text();
Please sign in to leave a comment.