-
Yes
I have seen that but I will not say how to map a web service to the contact control.
Our am I overlooking something ?
-
Hi,
Write the code to submit to net work as well as SharePoint in the button click event.
Use the following links to write the code.
http://msdn.microsoft.com/en-us/library/bb251026.aspx
http://www.infopathdev.com/forums/p/10172/36195.aspx
-
Hi,
Is Welcome Title a picture? If so make sure that picture is there in the form's resource files.
-
Hello,
You to follow these steps to insert OnSwitchView in Jscript,
1. Go to Tools- > Form Options -> Programming.
2. Select ‘Jscript' in ‘Form template code language' dropdown.
3. Click on OK button.
4. Go to Tools -> Programming -> ‘On Switch View Event..'
You will get script.js file with ‘OnSwitchView' event. ...
-
Hi,
Add a filed to data source (ex: field1 and its xpath is like /my:myFields/my:field1). Before submitting the form, write the following code.
XDocument.DOM.selectSingleNode("/my:myFields/my:field1").text = XDocument.View.Name;
Add a switch view event and write the following code.
function XDocument::OnSwitchView(eventObj)
{
var ...
-
Hi,
We can add a validation using the custom patterns so that if the user enters the wrong format (other than SSN) you can let the user to enter correct format by showing a screen tip.
For this follow the below steps.
1. Go to data validation of the text box.
2. Click Add. Select the text box field in the first drop down, does not match ...
-
Hello,
We have three events like changing, validating and changed. In these you have to choose ‘changing' event. To inset this event select the repeating section node,
1. Go to properties - > Programming.
2. Select ‘Changing Event..' event
Then it will insert the changing event for your code.
-
Hi,
e.Parent Gets a reference to the XML Document Object Model (DOM) node of the parent of the XML DOM node being changed during a data validation event
e.Site.parentNode gets the reference of the parent of the node for which the event is fired.
-
Hi,
Use he following expression to validate the text box to fulfill your requirement.
not(xdUtil:Match(string(.), "\d*")) and not(xdUtil:Match(string(.), "\d*\.25")) and not(xdUtil:Match(string(.), "\d*\.0")) and not(xdUtil:Match(string(.), "\d*\.00")) and not(xdUtil:Match(string(.), "\d*\.5")) ...
-
Thanks Shiva for the reply,
But I cannot see XmlChangingEventArgsXml event in my code behind. Do I need to add that manually? I even tried to add that manually but there is no such event handler present except validating and changed.