Email Submit:  Field Contents as the Subject of the Email?

Hi All,
I've built a .pdf form using Live Cycle Designer. I want the user to be able to press a button on the form to send the form (as a .pdf attachment) to a predetermined email address and cc.
In addition, the subject of the email should be a concatenation of a) predetermined text that will remain static, and b) the contents of a field on the form (entitled "Project").
Lastly, I'd love to have a predetermined message body automatically applied to each such email.
I'm able to have the user press the button which sends the saved form as a pdf attachment to a predetermined address.
I'm NOT able, however, to achieve the following:
a) I don't know how to get it to cc the predetermined email address.
b) I don't know how to get field contents into the subject of email, nor concantanate the field contents and the static text.
c) Don't know how to set forth a predetermined message body.
I don't know anything about javascript or xml.
Can you help?
Thanks!
John

Hi Chris!
Thanks much! Now I only need the button to automatically cc a predetermined email address. My fully functioning code is below. What do I need to add? Thanks!
J
var concatenation = Picture.rawValue + ' - ' + Artist.rawValue + ' - ' + DealType.rawValue;
event.target.submitForm({cURL:"mailto:[email protected]?subject=DEAL ORDER: " + concatenation + "&body=Click on send in order to submit your Deal Order Form.\nIf you experience any technical difficulties, please call Neil at x5175.",cSubmitAs:"PDF",cCharset:"utf-8"});

Similar Messages

  • Save a field content to the DB (customization)

    Helllo,
    I have a requirement to add a textarea to an existing page and save its content to the DB.
    I am familiar with customizing/changing the query where-clause in the CO and personalizing pages. But didn't work on a scenario that involves saving (insert) new form fields to DB.
    Can anyone provide me directions on how to do so?
    thanks

    Hi,
    Is the page you are customizing a create page
    are the fields in this page have a VO and do you need to insert the new data into the table refering to the same VO ?
    if the new fields data needs to be inserted in the same VO (EO based ) (same base table on which the EO is referring to)
    then just create a new field using personalization and set the view attribute as appropriate, no coding is required in this case
    Thanks
    Ravi

  • Text field contents overlap the static text below.

    hi all,
    I have got a problem with the size of a text field in my form. In the form, below the text field, i have got a static text. The height of the text field varies dynamically depending on the size of the string coming from the backend.
    Now, as the size of the text field increases, its text is overlapping the static text below. i dont wat this to happen. how can i dynamically change the position of the static text depending on the size of the text field above.
    regards
    Shyam.

    hi,
    with regard to your problem please go through the following link where I have provided the solution similar to your problem.
    Re: Display more lines of table than size of current page
    Try out this and let me know if you still have problems.
    Thanks,
    kris

  • Passing form field name to the subject line of the task assign email

    Hello Everyone,
    I am trying to create a process that need to pass one of the field data from a form to the task email assign but could not make it work right as expected. I think I miss something but could not figure it out myself. If any one has done this before, please share your knowledge.
    Thanks in advance,
    Han Dao

    Hi Jasmin,
    I thought it simple thing to do by passing the xPath to the subject line but for some reasons, it does not work instead it show the whole xpath on the subject line. Here is my xpath:
    {$/process_data/FormData/object/data/xdp/datasets/data/FSFIELDS_/Form1936/EmpInfoSub/UserM gr$}
    where Form1936 is the pageName, EmpInfoSub is sub-form, and UserMgr is field name on the form.
    Thanks,
    Han Dao

  • Trying to send email with contents in the body of the message

    Hi,
    Has anyone been successful in modifying the RW_EMAIL_NOTIFICATION script in such a way that allows the contents of the email "body" to be sent as a parameter from a calling script? Thanks.
    Regards,
    David Carr

    David,
    Here is the solution I use which hopefully will suit your requirements and is a little more elegant than the workarounds for using rwmail.  Oracle has the ability to send SMTP emails once you enable the UTL_SMTP package. 
    Log in to Oracle as the SYS user and run the Oracle supplied script to create the UTL_SMTP package - utlsmtp.sql in the Oracle rdbms/admin directory.
    Now create a procedure that you can call subsequently in your scripts to send emails using the UTL_SMTP package.  I created this script under the SYSJCS schema as I'm only going to call it from there, but you could create it as SYS and then create a public synonym for it.
    I called my procedure send_mail (see below).  The enabling of the UTL_SMTP and the creation of the send_mail procedures are one-offs and don't have to be repeated (unless you want to change something about send_mail).  Just change the name of the mailhost in the procedure to one appropriate for your  company.
    NB: I have had to substitute the "at symbol" with *at* otherwise the forum wouldn't accept the post.
    CREATE OR REPLACE PROCEDURE send_mail (
    pSender    VARCHAR2,
    pRecipient VARCHAR2,
    pSubject   VARCHAR2,
    pMessage   VARCHAR2) IS
    mailhost  CONSTANT VARCHAR2(30) := 'yoursmtpcapable.mailserver.corp';
    crlf      CONSTANT VARCHAR2(2):= CHR(13) || CHR(10);
    mesg      VARCHAR2(1000);
    mail_conn utl_smtp.connection;
    BEGIN
       mail_conn := utl_smtp.open_connection(mailhost, 25);
       mesg := 'Date: ' ||
            TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss') || crlf ||
               'From: <'|| pSender ||'>' || crlf ||
               'Subject: '|| pSubject || crlf ||
               'To: '||pRecipient || crlf || '' || crlf || pMessage;
       utl_smtp.helo(mail_conn, mailhost);
       utl_smtp.mail(mail_conn, pSender);
       utl_smtp.rcpt(mail_conn, pRecipient);
       utl_smtp.data(mail_conn, mesg);
       utl_smtp.quit(mail_conn);
    END send_mail;
    Now you can call the send_mail procedure with, e.g.
    send_mail(pSender=>'redwood**at**mycompany.com',pRecipient=>'basisteam**at**mycompany.com',pSubject=>'Alert: Redwood job failure',pMessage=>'There has been a job failure that should be addressed a.s.a.p.');
    Here is a practical application of this email facility.  I created a trigger for ON_JOB_STATUS_CHANGE called _ERROR and here is the code that is executed.  We store contact details for business users that need to be notified of a job failure in the Comment field of the script definition, so for a failed job we grab that info and email it to a power user dlist which includes 24/7 Ops that will call-out the contacts specified.
    Any Comment field that starts with the text CRITICAL_JOB results in an email to the Ops that will perform the call-out, otherwise the email goes to a less critical dlist.
    procedure SYSJCS.ON_JOB_STATUS_CHANGE_ERROR (
      p_job_id     in integer
    , p_old_status in varchar2
    , p_new_status in varchar2
    is   
        v_script       varchar2(30);                                   
        v_step_id      varchar2(9);
        v_description  VARCHAR2(80);
        v_comment_text VARCHAR2(4000);
    begin
        if p_new_status in ('E', 'O') -- Error or Console
        then
            select script_name, decode(step_id, null,'JOB/CHAIN','STEP')
            into v_script, v_step_id
            from jcs_jobs
            where job_id = p_job_id;                              
            select description, comment_text
            into v_description, v_comment_text     
            from jcs_scripts
            where name = v_script;                              
            if ( SUBSTR(v_comment_text,1,12) = 'CRITICAL_JOB' )
            then    
               send_mail(pSender=>'redwood**at**mycompany.com',
                         pRecipient=>'criticaljobalerts**at**mycompany.com',
                         pSubject=>'CRITICAL ALERT: Job failure in '||v_script||' ('||p_job_id||')',
                         pMessage=>'Job Description: '||v_description||chr(13)||chr(13)||'Operations Team please ensure you contact one of the following people via telephone a.s.a.p.'||chr(13)||chr(13)||'Comments: '||chr(13)||v_comment_text);
            else
               send_mail(pSender=>'redwood**at**mycompany.com',
                         pRecipient=>'basisteam**at**mycompany.com',
                         pSubject=>'Alert: Job failure in '||v_script||' ('||p_job_id||')',
                         pMessage=>'Job Description: '||v_description||chr(13)||'Comments: '||chr(13)||v_comment_text);
            end if;
        end if;
    end;
    Hope this was useful.
    Regards
    Guy

  • Why do my older emails have no content in the body of the message?

    My older emails in my folders show the sender, addressee and subject but no content in the body of the message.  Why is that the case?  I use my email to save important messages.

    This is the Mac Pro desktop forum.
    In the received message does the subject appear correctly?
    Is just the body message field blank?
    What app is the recipient using?
    Can they try another pp?
    Is there anything strange in the body? Like special characters?

  • What action besides the mailto: one will work with a submit button to activate the required fields?

    I have a submit button that uses the mailto: function to activate the required fields property on a pdf fillable form, but our users would prefer that the form not generate an email. Please let me know what I could replace the mailto: action with so the submit button will only activate the required fields proptery.
    Thanks for the help!
    Ken K. 

    Whatever is running on the server does not have to be PHP, any mechanism
    that can accept a HTTP request can handle your form content. You have a
    choice between using the "normal" HTML forms submission format, or you can
    submit a FDF or XFDF file to your server. I've used Perl, PHP, Microsoft's
    .NET and good old Unix shell scripts to accept and process PDF forms
    submissions.
    If you don't know how to implement the server portion, you will need to
    work with somebody who can do that for you. How this is best done depends
    on what server system you are using, and potentially what limitations your
    web hosting provider is forcing you to live with.
    Karl Heinz Kremer

  • Drop down that fills a second field and sets the email recipient

    (note: this was incorrecty posted in the Acro forum and I was informed to move it here)
    Apologies for this simple, newbie question but I am stuck. I have worked on this for a few hours, and just cannot get it to work.
    The basics: I want to get a name from a drop down, have it display in another field then set the submit button to email to that recipient.
    Acrobat Pro X
    LCD 9.0.0.2
    Win 7
    I have done this with one recipient before where the Submit button has all the info already entered, but this time I want to allow the user to choose from one recipient in a list and route the completed form to that person. I have tried all sorts of variations on Java examples in multiple forums and while everyone else seems to be able to do this, I have been unsuccessful. I cannot even get the text field to display the email based on the name in the drop down, much less the addressing part. I have tried a custom calculate script, case script and other items to no avail.
    The 3 elements........
    1) Drop down menu with names, let's just say there are two names - "John Doe (Eastern)" and "Jane Smith (Western)". The field is named "DistMgr".
    2) Text Field that displays the corresponding email for the name in DistMgr. Pretty much only used for display to confirm the address visually. This field is named "Email".
    3) Attach & Email button to send the form to the recipient chosen. Subject is always the same, lets just say it says "New Form". The button is named "Submit".
    What I want to do is select the name from DistMgr, have it populate Email (for display in the form) and automatically change the Submit button to allow the user attach the fom, insert the appropriate email address & the standard subject and invoke a standard email client with just the click of the Submit button.
    Any help would be appreciated and even links to locations where this very basic question has already been answered would work.
    Thank you.
    Joe Rowan

    Are you using Adobe LiveCycle Designer?  If so when you have the form open in designer, click on the dropdowns you will see in the code behind that dropdown where it calls a variable which is called myScriptObject.  Behind the drop-down list called "teams" it calls this script.
    Here is what is in the scriptobject:
    var epl = "Chelsea,Manchester United,Arsenal,Tottenham";
    var liga = "Barcelona,Real Madrid,Valencia,Mallorca";
    var seriea = "Roma,Inter Milan,AC Milan,Sampdoria";
    var eplArray = new Array();
    eplArray = epl.split(",");
    var ligaArray = new Array();
    ligaArray = liga.split(",");
    var serieaArray = new Array();
    serieaArray = seriea.split(",");
    function loadData(dropdownField) {
         if (!(form1.page1.subform1.league.isNull)) {
              switch (form1.page1.subform1.league.rawValue) {
                   case "English Premier League":
                        for (var i=0; i < eplArray.length; i++) {
                             dropdownField.addItem(eplArray[i]);
                        break;
                   case "Spanish Liga":
                        for (var i=0; i < ligaArray.length; i++) {
                             dropdownField.addItem(ligaArray[i]);
                        break;
                   case "Italian Serie A":
                        for (var i=0; i < serieaArray.length; i++) {
                             dropdownField.addItem(serieaArray[i]);
                        break;
                   default:
                        break;                    
    Deborah

  • I am having problems with mail after upgrading to snow leopard. When I send an email to somebody, I would get a reply from them but the content of the reply were old emails from months ago. Any ideas what's going on?

    For ex. The subject of my email was "List of kids dancing this weekend". Then i would compose my email and send it to the recepient. They responded to my email with the same subject "List of kids dancing this weekend" but the content of the email was the email I received from somebody else months ago. This "phenomenon" happened serveral times already. Please help!

    Check this post out
    http://hints.macworld.com/article.php?story=20110516152604993
    Turns out the auto-complete database is a SQLite DB stored in this folder.  Probably the ownership and/or permissions are messed up on your system.  Mine (under Snow Leopard) show  ownership by me and rw privilege for all files in that directory, including MailRecents....

  • Alert content in the external email sent

    Hi,
    I have two requirements related to Alert Monitor.
    1. We want to send the Alerts generated to group of external email IDs - How to configure that? Currently we are able to send the email to only one email ID only.
    2. Also the content of the Alert sent in the email is not as required. We want the Alert email sent to external email ID should look like or contain the information as close as in the Alert seen in the Alert monitor. We want to include the info like Product, Location, Order Number, Qty, and the Alert message.
    Please let me know how to configure the above things.
    Thanks and Regards,
    Shivanand Gangamwar

    Hello Shivanand,
    I would reckon, this will be an enhancement of the existing functionality to send Alerts to multiple mail ids as standard SAP does not have that functionality.
    I would like you to include the option of adding multiple mail ids while sending the Alerts. The data will be stored in Table: /SCMB/ANOTP, field: SMTP_ADDR.
    Also, it would be advisable to schedule a background job and release it to run every 5 minutes for the program: RSCONN01 with Address Type as "*" and set the remaining parameters as per your requirements.
    Hope this will give you a hint to solve this issue.
    Many thanks,
    Amit Sen

  • How do I fix the contents of the "Reply To:" field so that it always contains my e-mail adderess?

    How do I fix the contents of the "Reply To:" field so that it always contains my e-mail adderess? At the moment I type the first character of my e-mail address and I am given a list of addresses (from Address Book ?) starting with this character. I then have to select one. But I always want the reply to be sent to my one and only e-mail address.

    I see. Unfortunately I'm not sure how to specifically set Mail to auto-populate the Reply-To field, but you can set it to use an email alias instead of your main account name. It will send from and recieve replies to this alias, in essence creating a new email identity while using the same account.
    To do this, go to the Accounts section of the Mail preferences and select your account. In the "Account Information" tab locate the "Email Address" field and then add your aliases separated by commas. If you are using an Apple iCloud account then you will have a drop-down menu to manage your aliases.
    Sometimes this detail will require your email provider to support different aliases for the same account, so it may not work unless you adjust some settings with your provider.

  • Cannot send email via AOL on iPad2 - "A copy has been placed in your Outbox. Sending the message content to the server failed."

    My CEO has an ipad2 and I set it up w/ AOL.  She cannot send any email via her AOL account from her iPad.  She gets a message that says "A copy has been placed in your Outbox. Sending the message content to the server failed."   We've tried it on wifi and on 3G (Verizon version).  I've removed the account and added it, I've tried setting it up as an IMAP account vs. using Apples standard AOL mail setting and nothing seems to work.  The SMTP settings are smtp.aol.com, port 587.  I've tried adding an alternate server/smtp, but I haven't been able to find anything that works.  Any advice or other people having this issue?  It works fine sending an email from her aol web mail.  And unfortunately, having her sign up for a gmail account is not an option.  Thanks

    Interesting.  Firstly I have been on AOL since the early 90s with no current intention to switch as my primary personal email account.
    I have two email accounts on my iphone - AOL and my email from my business website.  I deleted both and then recreated first the business account and then the AOL account.  Same error.  Then I wasn't sure what you suggested but I turned off the AOL SMTP server and selected the business email SMTP server by turning it on with the same result.  I still get the error "A Copy has been placed in your Outbox.  Sending the mssage content to the server failed."
    Perhaps this problem will get fixed by IOS 6.   AOL will not talk to me unless I pay and Apple says its not their problem.  So for the time being I use the AOL web interface in the iPhone's Safari to send emails from the phone.

  • To capture the selected rows along with edited field contents in alv report

    Dear All,
             I do have requirement where, in alv report output one field is editable and need to save the content of the edited field along with the selected rows.
             For example If there are 10 records displayed in the alv output with 20 fields.
    Out of this 20 fields one field (say XYZ) is editable. Also i have already created a new pushbutton (say ABC) on alv output. Now in the alv output if we maintain some value in the field (XYZ ) for the 2nd and 4th record and select this two records, and when clicked on the pushbutton (ABC) it has to update the DB table.
          I am using the Func Module  'REUSE_ALV_GRID_DISPLAY'. 
          Your early reply with sample code would be appreciated.
    Thanks in Advance.

    HI Naveen ,
    There is an import parameter "i_callback_program" in the function module,
    plz pass the program name to it.
    Capture the command by passing a field of type sy-ucomm to "I_CALLBACK_USER_COMMAND ".  Check the returned command and
    and program a functionality as desired.
    u can try the event double_click or at line selection. there u can use READLINE command to c if the line has been selected.
    In case it is , process the code segment.
    Regards
    Pankaj

  • I have one out of five email address's with coxmail that opens with a blank inbox but other browsers show the content of the same inbox

    Question
    I have one out of five email address's with coxmail that opens with a blank inbox. Other browsers like opera or IE show the content of the same inbox. I've contacted cox but they tell me the problem is on my computer. I've used three different anti virus/malware scanners to eliminate all the bugs they can find. I need a firefox guru with suggestions. Thanks, Charles

    You can undo your permission changes. Probably the most relevant one is cookies. Try one or both of these methods:
    (1) Page Info > Permissions tab
    While viewing a page on the site:
    * right-click and choose View Page Info > Permissions
    * Alt+t (open the classic Tools menu) > Page Info > Permissions
    (2) about:permissions
    In a new tab, type or paste '''about:permissions''' and press Enter. Allow a few moments for the list on the left to populate, as this information needs to be extracted from a database.
    Then type or paste ''rcn''' in the search box above the list to filter it to the most relevant domains. When you highlight a domain, you can adjust its permissions in the right pane.
    Any luck?

  • How to import and make the content of the original PDF document editable and preserves the pdf appearance and retains existing fields and formatting in LiveCycle

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

Maybe you are looking for