Hi,
Please help me on how can i select radio option dynamically when calling dynamicForm.fetchData()? If database column values matches with valueMap of radioGroup, the corresponding radio option will be selected or checked automatically. This is fine. If suppose i have mismatched values in DB and valueMap then how i can select radio option? Is there any other way to set explicitly?
Please look the above example. If i have values 'Y' or 'N' in database, how i can match with this radiogroup?
Please suggest me
Thanks
Prabu
Please help me on how can i select radio option dynamically when calling dynamicForm.fetchData()? If database column values matches with valueMap of radioGroup, the corresponding radio option will be selected or checked automatically. This is fine. If suppose i have mismatched values in DB and valueMap then how i can select radio option? Is there any other way to set explicitly?
Code:
isc.DynamicForm.create({ ID:"testForm", width:100, fields:[ {name:"test", title:"Single", type:"radioGroup", vertical:false, valueMap:"['Yes','No']" } ] }) testForm.fetchData();
Please suggest me
Thanks
Prabu
Comment