How to format Data in subject line of an Email

I have an email submit button on my LiveCycle form and the client wants data from the form in the subject line of the email. I have the button set up and the patterns set up on the fields but the data in the subject line doesn't display the way it does in the fields. this is what I have.
var oDoc = event.target;
var nSubject = Page1.Top.txtEmpID.rawValue + " " + Page1.Top.dteTo.rawValue;
oDoc.mailDoc({
cTo: "[email protected]",
cSubject: nSubject,
cMsg: Page1.Top.txtLastName.rawValue + " " + "Performance Agreement"
The Employee ID is 7 digits including leading zeros (0123456) and the date is formatted MM-DD-YYYY. When it goes to the subject line it doesn't show the leading zeros (123456) and the date is formatted YYYY-MM-DD.
Any help is appreciated, Thanks.

To get the formatted date striong use formattedValue instead of the rawValue in your scriptings.

Similar Messages

  • How do I change the subject line on incoming email

    On my old PC I could easily start typing in the subject line of a received email.  This would allow me to search for a name later on when looking for an invoice.  I dont know how to change the subject line of an incoming email to my imac?

    This site tells you how to edit the subject of a message.  I just tested using OS X 10.8.5 and it worked, without altering the time & date stamp, or the original sender info. 
    http://email.about.com/od/macosxmailtips/qt/et_edit_receive.htm
    Steps copied below:
    Drag and drop the desired message out of Mac OS X Mail onto the Desktop.
    Ctrl-click on the message copy on the Desktop.
    Select Open With | TextEdit from the menu.
    Make the desired changes to the message source.To change a message's subject, look for "Subject:" at the beginning of a line starting from the top.  (hint, you can use 'Command-F' to bring up a search window to help you find the "Subject").
    Close TextEdit saving the document.
    Ctrl-click on the message on the Desktop again.
    Select Open With | Mail from the menu this time.
    Now select Message | Copy To followed by the message's original folder from the menu in Mac OS X Mail.
    Close the message window.
    Delete the message copy from your Desktop.
    Optionally, delete the original message in Mac OS X Mail.  (when I tested this, the original message was no longer there.  Not sure what happened to it, but the changes worked without editing the time, date, or original sender information.)

  • How can I edit the Subject Line of an email I've received?

    When the sender inserts vague or misleading text in the Subject Line (or leaves it blank), sometimes I'd like to edit it - makes organization and retrieval of information which might be in the email easier for me.
    I've tried opening the email file with a text editor (TextWrangler) and editing the "Subject" line. That partially works: When the message is open for reading, my edited Subject appears near the top of the message.
    However, when looking a list of emails in a Mailbox, Mail still displays the unedited Subject - which defeats my purpose.
    What am I missing, here?
    -gw

    Hi Gary, I think Mail is using stored info, not sure which of these two hold that, but...
    Safe Boot from the HD, (holding Shift key down at bootup), it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move these folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.

  • How do i read form data into subject lines of email?

    I'm having a problem pulling form data and putting it in the subject line of my email.
    "mailto:[email protected]?subject=Formform form+ F_Name.rawValue + L_Name.rawValue";
    I thought this would read text fields from the form and print them in my subject line. Instead it tprints it without the data.
    I was wondering if someone could point me in the right directon on what i am doing wrong.
    Button2.event__click.submit.target  "mailto:[email protected]?subject=Formform form" + F_Name.rawValue + L_Name.rawValue;
    Button2.execEvent("click");
    Any help would be appreciated.
    jj
    Also if anyone would happen to know if there is a way to bypass the two email prompts and choose to directly send it using the users local email client would help or maybe its impossible.

    Button2.event__click.submit.target ="mailto:xxxxx.com?subject=FORM Form Form for " + topmostSubform.firstName.value;
    Can i use rawValue or value like this? Right after i put anything after those quotation marks that aren't more quotatin marks my button stops workin.

  • How do you control the Subject Line in emails sent from RS_PREC_PLAN?

    We are using the program RS_PREC_PLAN to broadcast precalculated workbooks from a process chain.  We have entered values for each parameter (i.e. Precalc server, workbook, web template, and email addresses) and saved as a variant. 
    However, each time the program is called from the process chain the email recipient gets an email with "Test" as the subject line.  Is there any way to control what is displayed in the subject line of the email?
    Thanks,
    Brad

    Brad,
    Looks like the subject is hardcoded...
    you can find the same in
      Form  sent_mail
    where there is :
    l_r_parameter->add( i_id    = 'DESCRIPTION'
                          i_value = 'Test'(001) ).
    what you could do is create a copy of the same program and look at passing the subject to the program...
    Arun
    Hope it helps...
    You could also look at using the how to document on sending workbook as attachment available in SDN - created by Durairaj Athavan Raja,,
    Arun
    Hope it helps...

  • How can I enable the automated drop down for the subject line on the email page

    How can I enable the automated drop down for the subject line on the email page as I send more than 300 emails everyday with the same subject line. Before it use to happen in my gmail account but now its not. Please help me as its increasing my work time because I have to type the subject line again and again on each email I send. Please help me guys.

    This is usually caused by one or more bookmarks having a long title.
    You can check that folder in the Library and shorten long names.
    * Bookmarks > Show Al Bookmarks
    *Bug 626066 - History, Bookmarks menus too wide because of pages with long titles on 64bits
    <i>Please do not comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>

  • Incorrect PO number in the subject line of a email

    Dear All,
    Our customer has implemented the PO be email functionality. Configuration is done to get the PO number on the subject line. This works fine when individual release is done. But when we perform the collective release, only One PO number is picked in the subject line of the email for all the Purchase orders.
    The following is the customization:
    Replacement of Text symbols
    Program                      SAPLMEPO
    FORM routine             TEXT_SYMBOL_REPLACE
    Processing routines for the output type : ZSAPFM06P
    FORM Rotine: OLD_ENTRY_NEU
    Kindly let me know if somebody has had a similar problem.
    Best regards
    Vinod

    Goto NACE .
    u2022 Select EF and click on OUTPUT TYPES.
    u2022 Then select Output Type NEU and click on processing routines .
    u2022 In that you have to add a new entry - medium 5 .
    u2022 Then you need to assign a program, form routine and form.
    u2022 You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    u2022 Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
    u2022 For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
    u2022 Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as
    TEXT_SYMBOL_REPLACE .
    u2022 Now the subject will be PO No. XXXXXXXXXX.
    u2022 You need to maintain your email id in tcode SU01 and also the vendor's email id.
    u2022 Now while creating a new purchase order , change the medium to External Send .
    u2022 Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
    u2022 Goto tcode ME9F .
    u2022 Execute.
    u2022 Select the checkbox and click on Output Message.
    u2022 You will get a message MAII 00000000000001 generated .
    u2022 Use note no 191470

  • Can you create a To Do from the Subject line of an email?

    Does anyone know if it's possible to create a To Do from the subject line of an email in Mail?
    Here's what I'm trying to do. I open a mail message, then I can highlight any text in the body of the message. When I do this, the To Do button becomes enabled. If I highlight the subject of the message, the To Do button remains disabled.
    Is there any way of doing this aside from highlighting text, then changing the text?
    Thanks!

    Open Mail Help from the Help menu. One of the main topics listed is how to create to-dos. Click on it to see what you are able "to do."

  • Can I enter a subject line into automated emails from the web?

    Hi everyone
    I'm setting up a button on my website to enable visitors to subscribe to my mailing list.
    The button opens up a new email, addressed to me, which the visitors will send back to me, thus giving me their email address.
    Is there any way I can fill in the subject line for these emails so it says something like "Add me to your mailing list".
    I suppose it's a bit like when you email photos from iPhoto and the subject line e.g. "10 great photos" is already filled in.
    Would really appreciate any advice.
    Thanks in advance

    You need to break it down into several pieces:
    1. An event that causes mail to be sent.
    2. Creation of the content to include in the mail.
    3. Creation and sending of the mail message.
    JavaMail will help you with #3. The rest are up to you.
    JavaMail comes with several examples that show you
    how to create a mail message and send it, given the
    email address of the recipient, the content, the mail
    server address, etc.
    There's also pointers to many documents and tutorials
    that will help you learn JavaMail. See the JavaMail
    web site. And don't forget to read the FAQ.
    If you have more specific questions, feel free to
    post them here.

  • Textfield Title to populate in the subject line of a email button

    I need for the a textfield title to automatically populate in the subject line of the email button
    What code goes in sub = ?
      var sub
    sub =
    var ebody
    Thanks

    I created two buttons - one named "Real Email Button"(submit) and one named "Submit Button (regular)"
    Real Email button has the addresses listed and the "Submit As" set to PDF:
    Submit Button has the following code:
    Button2.event__click.submit.target
    = "mailto:[email protected],?cc=[email protected]; [email protected]?subject= " +
    CTitle.rawValue;Button2.execEvent("click");
    I would like the textfield title (CTitle) to automatically populate in the subject line - what is missing in my code?
    Thanks

  • Is there a way to add the information from a custom field into the subject line of notification email

    I have a field in my form that I would like to add to the Subject line in the email notification form. Is there a way to pull that out of the form and add it?

    Try with t.code AUT10 -Audit trail using which you can see the change histories.
    Regards,

  • How can I edit the Subject Line of an ongoing thread of emails?

    Is there a way to edit the Subject of an email? At times the topic of conversation changes throughout an ongoing thread of emails, and I'd like to manage that by editing the Subject before filing it into a folder.

    The problem with the add-on solution is it stops working every time there is a new Thunderbird release. Editing the subject line is a fundamental feature than should be built-in. How can you possibly file incoming messages if you can't give them a meaningful subject.
    It is your data. It effects no one else.

  • Remove a meeting on specific time date and subject line

    Hi
    I have a situation where a meeting organizer is no longer able to update or cancel a meeting she booked. Some how she also became the participant of the meeting and now has lost control of the actual meeting. Not able to edit or send update. I've exhausted
    my efforts in trying to find a solution for this. Doesn't look like there is anyway to get back ownership or transfer it to someone else.
    So my next plan is to remove the meeting from everyone's calendar via a script. So my question is, is there a way to remove a meeting from all participants calendar where the date/time and subject line is known. This is to ensure only that meeting is removed
    from the calendar.
    or if anyone has some other ideas please do share. I need to somehow send notification of cancellation and remove the meeting from outlook and the organizer has no control anymore.
    Thanks

    Hi,
    Per my understanding, you might want to display all the specific documents in a page, they can be filtered by values of a Date and time column.
    A possible solution I will provide is that, we can create custom visual web part to display all these documents. In the code behind, run a query with CAML to retrieved all the
    documents with the specific date and time, then generate a view of hyperlinks that points to these documents.
    In this way, we can combine the filter component with the data display component into one web part, with the help of CAML query and Object Model, it would not be a tough job to
    implement such a solution.
    More information about CAML and Object Model:
    https://msdn.microsoft.com/en-us/library/office/ee536691%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Thanks
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I have an iphone 5s - how do I delete the subject line in messaging?

    In the messaging section of my Iphone, there is a "Subject" line - how do I remove it?

    There is a way to remove the Subject line!!
    follow these steps:
    go to Settings > Messages > uncheck "Show Subject Field "
    Thats it! You're problem will be solved!
    Edit

  • How do I create custom subject lines for form responses?

    We want our forms to be able to generate a custom subject line--each time someone puts in a request. Gmail threads everything together with the same subject line so when we get e-mail notifications when someone submits a form we often miss these because multiple notifications get threaded together. This could be solved if we can customize the headlines. Do you know how to do this?

    JRGENTRY
    Welcome to the HP Community Forum.
    The Avery labels and business cards with which I have had experience come on standard 8.5 X 11 inch sheets.  Of course, there may well be something out there about which I am unaware.
    The following may be helpful:
    Printing Labels_Business-Cards_Cards
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

Maybe you are looking for