-
I believe you can. From what it sounds like, your form has a drop down box, which when value X in said drop down box is selected, you want a text box in the form to populate with a corresponding email address based on the selection of value X in drop down menu.
If this is what you are trying to accomplish, this is rather simple to do, I did ...
-
I used the exact code you sent. I copied it and pasted it into by webService then I changed the last string variable from richTextStr to strRichText because that is the varable I pass to my webService. (This is the only occurance of strRichText in my webservice).
The code looks like this:StringBuilder richText = new ...
-
I have published web based InfoPath forms to Document Libraries as well as Forms Libraries in SharePoint and have not seen any difference in performance. Does it really matter which you publish your forms to?
-
Could you show us the exact code you tried, based on my recent post?
-
When I do this I get the same thing that I get by just trying to get a string value. richTextStr = "namespace.RichTextFieldName" (of course this is my actual namespace and my richText field name)
I even tried node.InnerXML, node.InnerText, and node.Value but I get the same results for all of them, just the ...
-
Most likely, the rich text contents of your field are being deserialized as an array of XmlNodes called Any. If that's the case, you should be able to get the XHTML with something like this:
StringBuilder richText = new StringBuilder();
foreach (XmlNode node in myInstructs.txtRichText.Any)
{
...
-
Thanks.. not working.. will try and figure out... I can't wait to upgrade to 2010!
-
I found this xml element called in my manifest file. It contains my list of views that should print during a print/print preview. Does anybody know of an easy way to change these settings at run time with managed code. My template already runs as a managed code trusted file. I just want to be able to determine which views print at run time. ...
-
I don't find any option to get InnerHTML.
The only option I have is to convert it to a string. DotNet recognizes this as a richtext field as distinct from a string field so I have to convert it to something, but string is the only real option I have.
I can't see where DotNet has a richText datatype even though it recognizes that ...
-
it's not a good ideia because it says i cannot repeat there and it appears at the right top a red ball with an (x) inside, like an error... well it is an error and it will not let me publish the form. Now that i'am trying to use a field inside the repeating table(datasource and design) as a section it says unbound(unable to store ...