InfoPath 2010–How to Concatenate Multiple Fields, some of which are Blank?

Problem statement: I have the name of a person in 5 separate fields (Yeah, this is usually the case in the Arab World as there are names that may include spaces). FirstName, SecondName, ThirdName, FourthName and FamilyName First, Second and Family names cannot be blank, whereas Third Name and Fourth Name can be blank. Need…