Question on RadioButton fields

#userInterface hi, I have a RadioButton Field, and when the user select true or false, I have to save the selection into a field of a CDT variable, which have more than one value.
can I use a statement like this in the saveInto property?
saveInto: {ri!choose,index(rule!returnCDTfrominput(ri!input),"required",{})}
ri!choose is the result of the selection, ri!input is a single variable used in the rule to return the CDT (it will have more than one record!) and "required" is the field where I have to update the value.

many thanks,
Francesco

OriginalPostID-198338

OriginalPostID-198338

  Discussion posts and replies are publicly visible

Parents
  • thank for your reply.. but i have to write save!value on EVERY record in my CDT.. if i run a!save(ri!CDT[ri!index].required, save!value) the value will be updated only for ri!index element of the CDT.. the number of record in the CDT is dynamic (it could be 2 or 3 or 10 and so on..) and I need to update every record.. how can i run the a!save statement several times dynamiccaly?
Reply
  • thank for your reply.. but i have to write save!value on EVERY record in my CDT.. if i run a!save(ri!CDT[ri!index].required, save!value) the value will be updated only for ri!index element of the CDT.. the number of record in the CDT is dynamic (it could be 2 or 3 or 10 and so on..) and I need to update every record.. how can i run the a!save statement several times dynamiccaly?
Children
No Data