Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / November 2005

Tip: Looking for answers? Try searching our database.

Hidden Fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tom - 07 Nov 2005 11:11 GMT
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
Franck Dauché - 07 Nov 2005 14:51 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.