MRVS Getting error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 11:24 AM
Hi team,
I have a two variables in MRVS (From_country & to_country) to_country variable is changes i need to fetch the of both variables values.
it is possible?
for this thing i written below script
i am getting like this if row's are i will get 3 times of alert with same snap(above pic)
if any one knows abt this help to resolve issue
Advance thanks team,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 11:29 AM - edited 07-17-2024 11:31 AM
Update the code as below and test.
var vk = g_form.getValue('country_names');
var multiRowValues = JSON.parse(vk).toString();
// Perform the comparison with backend table values
for (var i = 0; i < multiRowValues.length; i++) {
var row = multiRowValues[i];
alert(row);
Your other post for same:
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 11:33 AM
Inside the for loop use the MRVS variable names with the object and iteration
alert(multiRowValues[i].to_country);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 11:49 AM
good catch, i missed that part.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution