-
Hi,
Add a Group in the main data source and move all the fields in to that group (ex: group5). After that place the following code in the clear button click event.
[InfoPathEventHandler(MatchPath = "CTRL15_5", EventType = InfoPathEventType.OnClick)]
public void CTRL15_5_OnClick(DocActionEvent e)
{
IXMLDOMNode groupNode = ...
-
Hi,
We can do this with code. Place all the controls in a group. In the button click event, replace that group node with the node which is taken from Sample data.
-
Hi,
You can delete the validations in the button click event. Use the following code lines in the button click event.
if (thisXDocument.Errors.Count > 0)
{
thisXDocument.Errors.DeleteAll();
}
-
Hi,
Add OnContextChange event to the form and write the code to empty the field if the event is address field.
Ex:
[InfoPathEventHandler(EventType = InfoPathEventType.OnContextChange)]
public void FormEvents_OnContextChange(DocContextChangeEvent e)
{
if (e.Context.nodeName == ...
-
Hi,
To accept the above patterns use the following expressions with or (|) including the above the expressions.
\p{L}*\d*\p{L}*
\d*\p{L}*\d*
The total expression is like
\p{L}*\d*|\d*\p{L}*|\p{L}*\d*\p{L}*|\d*\p{L}*\d*
-
Hi,
Can you place the code how you are replacing the data.
-
Hi,
As Anuma said, no need to use code for list.asmx. Use the following url to open the webservice.
ex: http://server14/_vti_bin/lists.asmx
here server14 -à your server name where the share point is installed.
-
Hi and welcome to the forums,
Get the Id and its quantity of the current value and update that value with the previous value + present value.
-
Hi,This is possible. But you need to this in view.xsl manually. To do this follow the below steps.1. Add the values in the drop down list. (ex: s1, s2, s3,..)2. Open the view.xsl and search for ‘s1’. You will see one line <option value="s1">Replace this with <option style="COLOR: ...
-
Hi,
I think the attachment control is not binded to the repeating field. Make sure that the attachment control is binded to a field which is under the repeating group in data source. Do check this one,
1. Go to view -> Design tasks.
2. Click on Data source.
3. Go to the attachment control and click on that.
4. See in the Data source ...