Hi Tom,
Did you look into XDocument.View.GetSelectedNodes() and
XDocument.View.GetContextNodes()?
Regards,
Franck Dauché
> Is there a way in Jscript to go over all the controls in the form and check
> for each one whether he is visible or not (i.e i want to ignore hidden fields)
>
> Thanks,
>
> Tomer
Tom - 08 Nov 2005 10:49 GMT
Hello Franck , and thanks for the reply.
I did look at those functions but there are based on current user selection
or general context. What i'm looking is for a way to go over a form that
might contain more than one view and determine for each view which one of the
nodes is visible.
The reason is that i have a customed button for submit, and i want to prompt
the user only to the errors of the visible controls.
> Hi Tom,
>
[quoted text clipped - 11 lines]
> >
> > Tomer