Skip to main content
Known Participant
March 11, 2021
Question

Hi Everyone, I am facing Radio button error

  • March 11, 2021
  • 3 replies
  • 0 views

I want to show all the details in record for particular user, but i am getting error

a!columnLayout(
contents: {
a!radioButtonField(
label: "Shipping Address",
labelPosition: "ADJACENT",
choiceLabels: local!fulladdresses,
choiceValues: local!fulladdresses,

value:ri!pmt['recordType!{0f579015-721a-48ec-8248-a710bdd30532}PMT Purchase Record.fields.{fullAddress}fullAddress'],
saveInto:{
ri!pmt.fullAddress,
}
),

the above error i am getting in Record, when I click on particular user

3 replies

stefanhelzle0001
Brainy
March 11, 2021

As the error message implies, the value for the parameter value must be in your local!fulladdresses. This means the data type and the actual value must match. Same for check boxes and drop downs. There is countless posts about this topic here.

Known Participant
March 11, 2021

a!radioButtonField(
label: "Shipping Address",
labelPosition: "ADJACENT",
/*choiceLabels: local!fulladdresses,*/
/*choiceValues: local!fulladdresses,*/

/*value:ri!pmt['recordType!{0f579015-721a-48ec-8248-a710bdd30532}PMT Purchase Record.fields.{fullAddress}fullAddress'],*/
choiceLabels: {ri!pmt.fullAddress},
choiceValues: {ri!pmt.fullAddress},
value: ri!pmt.fullAddress,
saveInto:{
ri!pmt.fullAddress,
}
),

if i updated the code, again it is throwing some error

stefanhelzle0001
Brainy
March 11, 2021

I suggest to reduce some of the complexity. Why not create a separate interface to test and understand how a radio button works. Then come back. Start with

docs.appian.com/.../Radio_Button_Component.html