How to get Value of all individual Row radio button . if any radio button not selected then NA | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to get Value of all individual Row radio button . if any radio button not selected then NA

https://code.sololearn.com/Wyt54tX400cN/?ref=app Output = Yes,Yes,No,NA,Yes, Yes Where radio button of row no 4 is not selected

30th May 2020, 10:14 AM
Prince Chaurasia
Prince Chaurasia - avatar
1 Answer
+ 4
Instead of looping over all the radio buttons in the page, loop over rows, and use a block scope variable to check whether no button is clicked in that row, and use inner loop to loop over buttons in each row. a demo based on edit of your code: https://code.sololearn.com/WTI9Z0amqLvd/?ref=app
30th May 2020, 10:35 AM
Gordon
Gordon - avatar