Hi-
I'm trying to validate an entire form at once, on a view-by-view
basis. This is done from script in a custom task pane. I'd like to be
able to have a list of views, and have an asterik next to the ones
that contain errors.
I've got code working that will validate the current view (iterate
over the errors collection, check if that node is in view, etc). My
problem is that I want to validate all the other views as well,
without switching to them. Anyone know of a way to do this?
Thanks!
-Andrew
Greg Collins [MVP] - 02 Jul 2004 19:17 GMT
Hagen Green [MSFT] gave an answer to a question similar to this that should be of use to you. You can find it here: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=uShOscVWEHA.3016%40tk2ms
ftngp13.phx.gbl

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
Hi-
I'm trying to validate an entire form at once, on a view-by-view
basis. This is done from script in a custom task pane. I'd like to be
able to have a list of views, and have an asterik next to the ones
that contain errors.
I've got code working that will validate the current view (iterate
over the errors collection, check if that node is in view, etc). My
problem is that I want to validate all the other views as well,
without switching to them. Anyone know of a way to do this?
Thanks!
-Andrew