I want to check each one individually. If 11 of the 12 have values I want to update those but not the 12th. Otherwise your solution would work well.
Main Topics
Browse All TopicsI have a group of 12 SPList fields that I want to print to textboxes in InfoPath. Some of them are not required and thus can be null. What is the best way to check if all 12 fields are null? Currently the best way I can think of is to do an if statement for each one but it seems like there should be a better method.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If you are doing something on a field by field basis then you would probably need a rule per field.
Not sure if they have spaces in the fields otherwise but you could use a substring function on the concatenation to detect spaces or probably better default a dash or something in the field and you could see pretty easily.
But it sounds like you need to check each one individually.
You can do this with conditions at the end. You have to convert to an expression but you could say field1="" or field2="" or field3=""
By default it only shows 4 conditions but you can convert to expressions and have more than what is shown in the UI.
www.infopathdev.com has some examples for this.
Business Accounts
Answer for Membership
by: clayfoxPosted on 2009-11-03 at 10:27:26ID: 25731873
You could do a concat statement, concat(field1, feild2,etc) then if the concatenation is = " " that would mean all are blank and you could block submit or whatever.