-
If you give them a rich text box, they can paste the link in and it will work as a link. You can even add some data validation to make sure they have the address you want (if the files should come from a particular library or some such....).
-
Hi--
Can you make section B an optional section? That would mean that your users could chose to insert it (which does give them the responsibility of adding it when it needs to be filled out).
-
I realize you are just copying and pasting the code provided earlier. That code depends upon you having a boolean field that can be set to "true" when certain conditions are met. You don't have to add a control, you can just add another node to your schema in the Data Source Task Pane, and set its datatype to be a boolean. Here ...
-
I'm not sure what that field is though (the helper field). I'm just copying and pasting code that was provider earlier in this post. Do i need to add a control of some sort?
-
Any place you see XPATH to Reference Variable, you need to replace those words with the xpath to your field. To get that, you can right click on the field in the data source and select Copy XPath. When I read this code, it tells me that in the Changed event for your drop down, if the drop down changes from "new" to "extension", ...
-
Are you refering this this line?:
root.SelectSingleNode("XPATH to ReferenceVariable", NamespaceManager).SetValue("true");
My entire coding is such:public void ddlEngagementType_Changed(object sender, XmlEventArgs e)
{
string oldValue = e.OldValue;//collect the Old Value form Status drop down
string ...
-
You replace "XPATH to ReferenceVariable" with the xpath to the field you've added as boolean. Earlier, in the code connected to the drop down box, you set the value of a boolean field to true if certain conditions are met. The xpath to that field needs to go in quotes in place of the phrase "XPATH to ReferenceVariable".
-
-
Hello,
I have a very complicated form that keeps getting more complicated because users keep coming up with new stuff they want it to do. Imagine that.
I have section A that will always be filled out on the form. I have section B that is repeating and may be filled out on the form, might not. When it is filled out, there are ...
-
I can't give up that easily. So I got Infopath 2007 and switched it to C# and I have inserted the code you supplied inserting the xpath to the dropdownlist. One part i'm unsure of in your code is the xpath to the referencevariable. what does that mean and what is it?
Ex: string isTrue = ...