<if condition="$userinfo[fieldX]"> // The member has entered information is this field, code goes here... </if>