Both fields should either be filled or not. You cant have 1 filled and the other blank.

0
Hello team,  I have two fields which has the validation rule –  Both fields should either be filled  or not. You can't have 1 filled and the other blank. Can you please guide me to do the validation in microflow .  
asked
2 answers
2

Hi Sunkara,

 

Here's an idea for the expression:

($field1=empty and $field2 = empty) or ($field1!=empty and $field2 != empty)

answered
2

Hi Sunkara, 

 

Place a split with the following expression with will return true or false

 

(trim($field1) != '’ and trim($field2) != '’ )

or

(trim($field1) = '’ and trim($field2) = '’)

answered