I have a doubt on Validate rule

Hi Guys,

In one section i need to add error message , in that section we have 3 properties all are having radio button selection .

Without select any one of the radio button and click on continue we will get the error message.so i used validate rule in flow action

in validate rule i mentioned X==“” Under X we have to select 1,2, and 3

Y==“” under y we have to select 1,2, and 3

Z==“” Under Z we have to select 1,2, and 3

if it’s null show the error message.

In screen i have X value and select 2 i click on continue screen does not go Forword, because in that work page Y and Z also Null.

How to write validate rule.

Please help me.

Thanks in advance!

@kirti the logic should be like this->

A==“” && B==“” && C==“”

Throw error message.

If you are using expression evaluates to true then above condition as it..

If different labels, then

A=“” ,

B=“”.

C=“”

IN LOGIC, A && B && C

This means if none of the radio button property is having any value then throw error message.

@Anoop Krishna Sorry can’t understand krishna ,

Actually X, Y and Z are different properties. I need condition if any one of the properties not holding any value, then throw error message. I am using this condition expression evaluates to true as of now.

@kirti ya correct, then we need to check if any one of these properties is having blank values.

A==“”|| B==“” || C==“”

This logic will check if any one of these properties have blank value or not.

@Anoop Krishna

Thank you krishna

@Anoop Krishna It’s not working krishna

Actually, my requirement is

X and Y and Z

1 1 1

2 2 2

3 3 3

Based up on condition in that screen only one set available if x available y and z not available in Ui, But in backend all are available in same page workPage.

if X set is enabling X==“” throw error message, but here Y and Z null.so screen not continue to next page

@kirti okay got you. Can you write this in validate rule and please let me know if it’s working. I will help you understand post that.

A==“” && B==“” && C==“”