Hi,
I have a page made with UI designer which contains a radio buttons widget.
The available values are filled using a javascript expression retrieving all the groups the user belongs to :
function getGroupNames(data) {
var noms = [];
for( var i = 0; i < data.length; i++ ) {
noms[i] = data[i].group_id.name;
}
return noms;
}
return getGroupNames( $data.listeGroupes );
The selected value is a string variable.