Hi,
in the interface we used checkbox to select multiple, now bcz of some reasons user wants to select one item at a time so am thinking to go with radiobutton
is that right way or do we have any other options?
and even i have checked with radio button but am getting this error, hope nothing difference b/w check box and radio button
can anyone suggest me
Discussion posts and replies are publicly visible
Hi Kavya,
Make sure, your ChoiceValues and ChoiceLabels have same number of values. It can be same also.
ChoiceLabels: This value is used to show to the end user.
ChoiceValues: This value is used to save the value to the database table.
Example of Gender:
ChoiceLabels: {"Male", "Female"}
ChoiceValues: {1,2} or {"Male", "Female"}
will not show any values to end user from choiclabels.. whenever we select radio button then the value as 1 will be saved to db
Please see the below screenshot for your reference.
choiceLabels: {"Male", "Female"}, choiceValues: {1, 2},
choiceLabels: {"Male", "Female"}, choiceValues: {"Male", "Female"},
The choiceLabels and choiceValues arrays must be the same length. else it won't work. Just try to use toggle button