Question
How to display list of options with different radio buttons
Hi All,
Let me explain my question in detail.
We are working on Pega 7.3.1. We have a requirement where we have to:-
1) Display around 25 options where each option should display 2 radio buttons [Complete, Not complete]. In the 25 options couple of options have radio button names as [Yes, No].
2) While submitting these radio button Option name and the selected value needs to be added to the Audit Log
We are not suppose to implement like:-
Create 25 properties with local values Complete/Not complete and Yes/No. Add 25 radio buttons in the section and map to these 25 properties
Please suggest a better approach to display these 25 options along with the corresponding radio buttons dynamically.
Thanks,
Sahul
Use a repeating dynamic layout with a pagelist as the source.
For 25 options to show the label set label for 25 pages inside the pagelist in the pre-processing Data Transform
And inside repeating dynamic layout include a section with label and radio buttons "yes" and "no".
So here we will be using one property for the label and one for the radio button.
25 options will be saved in 25 pages for the pagelist.