-
Hi,
You said that you are using a drop down list for week names. Specify the rule for that drop down.
-
Hi, Are you using var thisXDocument = null;thisXDocument = window.external.Window.XDocument;
-
Hi,Verify thisXDocument is null or not. If that is null then you will get the above mentioned error.
-
Hi,If you are hard coding the values then just place the week name and the date and day values in the xml as shown below.
<Weeks>
<Week number="firstweek">
...
-
Hi,Do you want to place the certificate picture and its details? If so, just take a picture of the certificate. Add a picture control and set that picture as the default picture.
-
Hi,You can get the inner xml using the following code line.xmlnode.InnerXmlxmlnode is the rich text box node.
-
Hi,
Add the following code lines to verify the errors.
var thisXDocument = null;
thisXDocument = window.external.Window.XDocument;
if (thisXDocument.Errors.Count > 0)
{
alert("Please fill the required fields.");
return;
}
Else
{
Write your code here
}
-
Hi,Do you want to display all the day names? If so, just add a rule to the drop down to set the day names in the text box.If the day names are different for each week then prepare an xml and using a rule by filtering the value in the drop down you can populate the value in text box.
-
Hi,
You can directly close the form using rules. Here is the link to close the forms using vb.
http://techdhaan.wordpress.com/2008/06/03/close-infopath-forms-services-form-using-code/
Hope it will solve your problem.
-
Hi,
You cannot iterate through the drop down list when you enter that values manually. When you use
XPathNodeIterator iter = root.CreateNavigator().Select("/my:myFields/my:field4",NamespaceManager);
you will get only the value selected not all the values in the drop down list. If you want to iterate the values then you need to ...