Skip to main content

I'm trying to validate that all required fields are filled out before enabling the Next >> button. 


On the Next button, I created a formatting rule with the following condition: 





























 


The problem with this is that only field2 disables the button when empty, and nothing happens when field1 is empty. 


Question: How can I use isNullOrEmpty() option for a multiple fields. 

@cloudysunny You can try isNullOrEmpty(Field1)||isNullOrEmpty(field2)  or isNullOrEmpty(Field1)&&isNullOrEmpty(field2)


@Nunezma. I used this as per your suggestion, and it worked like charm. isNullOrEmpty(field1)||isNullOrEmpty(field2). Thanks a lot. I do however, have a follow-up question. Now, I want to hide a label once all the fields are filled out.
example: My label reads "Please fill out field1 and field2. I'm using this, and is not working !isNullOrEmpty(field1)||!isNullOrEmpty(field2)
I figure it out with (!IsNullOrEmpty(field1)&&!IsNullOrEmpty(field2)) Thanks again.

@cloudysunny  Try:


 


not(isNullOrEmpty(nameoffield))


I just tested this and it worked as well. Thanks for such a great help 🙂

Reply