Thanks Greg. Yes I agree. One caveat.
I'm customiing a sample (I guess that doesn't really matter though) and
got around the rules question ok. What I've opted for is using a
separate rule and expression when a certain field is blank. Easy enough
to add. I want totake it further and use an expression dialog so I set
up:
concat("The following fields need to be completed:",contains(Method[. =
""], Method[. != ""]))
What I get is a true or false, easy enough, but I want to replace an
argument with a string so for example; if the field Method is blank,
return the string "Method" so the expression box would return: The
following fields need to be completed: Method.
I've done this sort of thing very easy in VBA but my form has defaulted
to JS and that is like Venuvian to me. Besides this is a rule not an
"afterupdate" of a field.
It's easy to do in Excel such as =If(arg1, arg2, expression).
Any ideas? I've searched here and MS groups and get the feeling this
relatively benign and easy task is not able to be accomplished in the
GUI portion of Infopath.
By the way, your earlier quick response was much appreciated.
CW