function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Akshay MenseAkshay Mense 

how to validate input in radio button selection in flow

Hello, I have a requirement which requires me to validate the input of radio button selection in flow builder. Currently there is not validate input functionality for radio button unlike for text fields. I would like user to not be able to save record if he selects "No" opton it should prompt user to do particualr action once completed then only he should be able to save the record . Two options i am providing are yes and No. Can somebody help with the requirement. 
ShivankurShivankur (Salesforce Developers) 
Hi Akshay,

Currently, the validation is not directly available with Choice input selection in the screen flows. But there is validation option available of we select 'Display as input text'.And based on error message user can be prompted to perform the action you want.

For implementing the same you can follow below help documentation:
https://help.salesforce.com/articleView?id=flow_ref_elements_screen_validate.htm&type=0

Also, there is ongoing Known Issue with validation in flow builder where flow builder is not validating choice input values with the specified formula, instead validates choice label and currently being review with Salesforce Product Teams:
https://trailblazer.salesforce.com/issues_view?id=a1p3A0000003eCHQAY

Hope above information helps, Please mark as Best Answer so that it can help others in the future.

Thanks.