Hi
We have a complex multipart form that is implenented using Form Services. The validation error messages display by Forms Services are, shall we say, less than desirable. We also need to save forms in a DRAFT state without validations AND I dont want to use any managed code.
So we have come up with a method of displaying an error message for each required field that will display when the format of the input is blank or doesn't match a pattern. Fields in the datasource will have a error attribute that gets set by rules. Conditional display will also make required controls or errors display in red and will set and clear the error attribute.
I can use the expression '/descendant-or-self::node()/@my:error != "'' ' to disable the submit button which is only on the last view. I would also like to display ALL the error messages next to the submit button but I can't figure out how to accumulate all the error messages into a single field/control. I would have thought that /descendant-or-self::node()/@my:error would do this but if I use this as a default value expression then it's setting the value to blank.
Any ideas? Remember, this is a web form and I can't (or dont want to) use code.
Thanks