-
You could put code inside the OnAfterChange event of the textbox to accomplish this, but doing it ''as the user types'' would be quite difficult.
Let us know if you need any code examples to do the formatting within the OnAfterChange event.
If you really want to do it as the user types it will involve some pretty cool trickery, maybe I'll try ...
-
Hm, I wonder why does InfoPath say ''cannot download the newest version'' ? Shouldn't it download the newest version everytime? Maybe when the web service rewrites the XML it leaves something out. Would it be possible to have an example of the XML file before and after the web service touches it?
---------------
Matt Faus
InfoPath Dev Texas
-
Check out this tutorial:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/html/OfficeInfoPathCustomizingInfoPathMenusandToolbars.asp
Beware, your form must be Fully Trusted to use this feature.
---------------
Matt Faus
InfoPath Dev Texas
-
Please seehttp://infopathdev.com/forums/topic.asp?TOPIC_ID=1449
---------------
Matt Faus
InfoPath Dev Texas
-
Welcome to the forum, Rajesh!
For further infomation use the search function of this forum located in the upper right corner. I used the phrase ''save code dialog'' and ''save code'' just now and came up with quite a few threads discussing this.
Also, please refrain from posting the same topic in two different threads.
Hope this helps, let us ...
-
Welcome to the forum, ShaulDar!
In Design mode, if you open the File menu and go to Preview Form -> With Data File... you should be able to accomplish this.
---------------
Matt Faus
InfoPath Dev Texas
-
Jeremyj is right. In JScript this code would be something like this:
var checkbox = XDocument.DOM.selectSingleNode( ''//my:checkbox'' );
if( checkbox.text == ''true'' )
{
// execute code
}
---------------
Matt Faus
InfoPath Dev Texas
-
Since you are using an MSI, you could build the functionality to uninstall previous versions of the form into the installer. Otherwise, you will generally want to uninstall previous versions before running the installer again.
---------------
Matt Faus
InfoPath Dev Texas
-
Also, you might look at the Forms Viewer provided right here at Infopathdev.com!
http://infopathdev.com/webstore/detail.aspx?itemid=11
For a full listing of our online store items, please seehttp://infopathdev.com/webstore/catalog.aspx - you might find something to be immensely useful!
---------------
Matt Faus
InfoPath Dev Texas
-
I agree.
---------------
Matt Faus
InfoPath Dev Texas