Using jQuery how do I get the value of a field in the last row of a repeating section:
In the screenshot above the Type fields are lookup controls with a class of .ItemType
I would need to return a value of "Software".
Using jQuery how do I get the value of a field in the last row of a repeating section:
In the screenshot above the Type fields are lookup controls with a class of .ItemType
I would need to return a value of "Software".
Best answer by chaddavis
My apologies. I used a Text field. I didn't realize you were using a Lookup field.
Try this code instead:
var myFields = NWF$('.myField option:selected');
var lastText = myFields[myFields.length - 1].text;
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.