Hi there,
I have successfully managed to link a submit button that issues an email with the subject field being filled based off of a field's value.
I am using this method:
[CODE]With EmailItem .Subject = Me.SelectContentControlsByTitle("Service Number")(1).Range.Text
.Body = "Thanks for submitting!" & vbCrLf & _
"BODY SECOND LINE" & vbCrLf & _
"BODY THIRD LINE"
.To = "boost.emailadress.com"
.Importance = olImportanceNormal 'Or olImprotanceHigh Or olimprotanceLow
.Attachments.Add Doc.FullName
.Send
End With[/CODE]
how can i add a second or third element to the subject line? I ideally would want to have three more form content controls displaying their data.
Have tried a few alternative means of setting the subject line; for example the me.[content name].value and activedocument.formfields ; but can't seem too get any headway.
Any assistance is greatly appreciated.