-
Hi basescu,
Here are the steps,
1. Open your form in design mode.
2. On the Tools menu, click Submitting Forms.
3. In the Submitting Forms dialog box, click Enable Submit commands and buttons.
4. In the Submit to box, Select Custom submit using form code option.
5. Check Edit Form Code checkbox and click on OK button.
-
Hi basescu Welcome to the Forums,
You need write code onsubmit event,
XDocument.DOM.selectSingleNode(''Xpath of your field'').text = “New Value”;
By using above line you are changing the value of that field.
You want to send above form by email right, and then you need to write code for email adapter for sending the form with attachments. ...
-
Anyway, glad to see you figured it out! :)
-
Hi Cornik,
If you are saving those xml files to share point then you can get the Share point Folder path and File Name as below the code.
Private string GetSharepointFolderPath()
{
string solutionUri = thisXDocument.Solution.URI;
int position = solutionUri.LastIndexOf(''/Forms/'');
if(position == -1)
{
return '''';
}
position = ...
-
Hi mjoffutt,
I have done many times in InfoPath these types of validation conditions. For every validation as treated as ‘OR#%92 only. Can you check your validation condition once again.
-
Hi Deborah,
Whenever you want to change the length of the field, if increasing the length of the field size then no problem but you are decreasing the size it will shows the warning message. If you want to decrease the length of the field you need to change the existing data also minimum otherwise it will accept the data up to 300. You need to ...
-
Hi scottr Welcome to the Forums,
In VBScript you should not declare type of the parameter for calling of the function. Have you get the WebService adapter in VB Script? Can you explain me what is the error you are getting exactly
-
Hello Karsten,
You can use Custom merge in order to merge data of all the XMLs into one. To do Custom merge take a look at Meeting Agenda sample solution, which merges Issue tracking forms. You can also refer Pages from 47 to 52 in book called “Developing solutions with Microsoft InfoPath”.
-
Hi Christiane,
You need to text box in your form below the drop down list box. You should keep condition on drop down list box “filedName” are blank hide and same as on text box you need to keep “fieldname” are not blank hide this control. Then you get the text box whenever data is not available in the drop down list box.
-
Hi mjoffutt,
For above validation you need add three validations like:
1. ReasonForClose = '''' and PASS0DissapproveAction = ''4-Close PDR''
2. ReasonForClose = '''' and CustomerDisapproveAction = ''6-Close PDR''
3. ReasonForClose = '''' and BusinessDisapproveAction = ''4-Close PDR