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 / March 2005

Tip: Looking for answers? Try searching our database.

conditional visibility

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
maggie m - 22 Mar 2005 05:55 GMT
i'm currently using optional section with conditional formatting for hiding
the section depending on certain conditions.

but can we achieve the similar result using code? (i'm using java script).
since the conditional formatting is only limited to 5 conditions when my
case needs more.

thanks :)
Greg Collins [InfoPath MVP] - 23 Mar 2005 21:32 GMT
Setup a single condition using xdExtension, such as:

xdExtension:myConditionCode()

Then write your code:

function myConditionCode()
{
   ... check your conditions here...
   if(condition failed)
       return true;

   return false;
}

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

i'm currently using optional section with conditional formatting for hiding
the section depending on certain conditions.

but can we achieve the similar result using code? (i'm using java script).
since the conditional formatting is only limited to 5 conditions when my
case needs more.

thanks :)
 
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.