-
Hm, I would stick with conditional formatting. If you wanted to do it with code, you could set the conditional formatting to hide the control when a certain field is a certain value and then set the value with code.
Maybe xdExtension would be better, but I've never worked with it and I know conditional formatting using a helper node is pretty ...
-
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
-
I have my first form hooked to access.
I need the field to except more than 255 char, what I have been reading is that the field can not be of type meme.
Anyone have a workaround?
Thanks,
Rick
-
If the data is in a SQL DB, if you are using a select statement, why not do a select distinct?
-
If you are using .NET managed code you generate in C# or .NET within your InfoPath form. Another obtion would be to create a webserivce that generates a GUID that your InfoPath form can call.
-
Problem solved.
Listen to Motörhead cos they play Rock'n Roll :)
-
Hi folks
can it be possible that in an Visual Studio.net Infopath project you have to put all your code into the FormCode.cs class. Actually I don't think so. But every time when i try to outsource something into another class i get some error messages about the invalidation of the form template. Any thoughts ?
Thx
Listen to Motörhead cos they ...
-
Dear Forum users - for anyone who could give me a hint:
I'm using infopath with a SQL Server backend. I hve GUID values as identifiers in the database tables.
How can I generate GUID values with Infopath when saving a new recordset in the database?
Thank you for any help.
Thom