Hello,
I new in appian and a have a trouble with radio button,
I have an interface with textfield and rabio button, (name, ID) I need to validate the textfield acccoriding to selecton made in radio button. I mean, If In rabio burron I chosse (name), the textfield only recive charters, if I choose ID in textfiled put only numbers.
I've created a localvariable to save the seleccion, But I don't know how to continue..
Colud you help me, pelase?
Best regards
Discussion posts and replies are publicly visible
Something like this?
a!localVariables( local!value, local!useName: true, { a!radioButtonField( label: "Radio Buttons", choiceLabels: {"Name", "ID"}, choiceValues: {true, false}, value: local!useName, saveInto: local!useName, ), a!textField( label: "Text", value: local!value, saveInto: local!value, validations: if( a!isNotNullOrEmpty(local!value), if( local!useName, if( len(stripwith(local!value, "0123456789")) = len(local!value), null, "Only characters" ), if( len(stripwith(local!value, "0123456789")) <> len(local!value), null, "Only digits" ) ), null ) ) } )
I have 5 radio button, I need all of them but one of them it has to disable (it 's not work for now), it means that user cannot chosse it, would can I disable one of them, I used the disable checkbox, but all of them are disabled,
Thank you in advance
Individual options cannot be disabled. Why not just remove them?
Thank, revome is the better solutions