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.

Prompt User from code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Martyn Lawson - 08 Nov 2005 11:56 GMT
Hi,

I would like to prompt the User for a simple Yes/No response using JScript.
Is this possible?

I am aware of the XDocument.UI.Alert(); command, but this only displays an
OK button, I would like to display a Yes and No button and also be able to
see whcih they clicked.

Any ideas would be greatly appreciated.

cheers,
Martyn...
Franck Dauché - 08 Nov 2005 15:22 GMT
Hi Martyn,

You can use something like:
var response = XDocument.UI.Confirm("Here is my question", 4);

Hope that it helps.

Regards,

Franck Dauché

> Hi,
>
[quoted text clipped - 9 lines]
> cheers,
> Martyn...
 
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.