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 / February 2007

Tip: Looking for answers? Try searching our database.

How to retreive a value from a Pop up

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
flat file issue - 15 Feb 2007 20:15 GMT
Hi
I am right now working on InFopath 2007 and there is a requirement where by
there is a button on InfoPath form and clicking on which a window will open
and the user enter some text and that text i want to send it to a particular
text box on an InfoPath form.Can u let me know how its possible.ie how to put
javacsript code in InfoPath.
The infopath form is an web enabled form
[MSFT] AlexWein - 15 Feb 2007 23:02 GMT
There is no way to make this happen directly: browser-enabled form templates
do not support custom JavaScript extensibility, nor do they support a "open a
modal question" model.

What you can do, if this kind of functionality is absolutely necessary:
- embed your form into a custom ASPX page using an XmlFormView control
- create a button within your form that would perform notifyHost()
- in the ASPX page, write code to open a popup, get the value from the
popup, and then populate the DOM of the InfoPath form that you embedded with
the value that the user typed in.

Good luck!

> Hi
> I am right now working on InFopath 2007 and there is a requirement where by
[quoted text clipped - 3 lines]
> javacsript code in InfoPath.
> The infopath form is an web enabled form
 
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.