Submit by Email to two URLs at runtime

I have a form with a Submit by Email button configured in the Object palette to send the form to a specific URL. In the form, the user fills out an email address text field. Is it possible to send the user the form also? I found something close (see below). I tried to adapt this by adding script to the Submit by Email button this way:
this.resolveNode("#event").submit.target = "mailto:[email protected]; " +emailFromTxt .rawValue + "?subject=email data&body=This is the body  text.";
but that doesn't work. Thank you for any suggestions on whether this is possible or not.
Script - validate event of TextField1
var address = new RegExp();
address.compile("^[a-z0-9_\\-\\.]+\\@[a-z0-9_\\-\\.]+\\.[a-z]{2,3}$","i");
var result = address.test(this.rawValue);
if (result == true){
  true;
} else {
  false;
Script - click event of the email button
this.resolveNode("#event").submit.target = "mailto:" + TextField1.rawValue + "?subject=email data&body=This is the body text.";
( from: http://partners.adobe.com/public/developer/en/livecycle/designer/pdfs/FieldSubmitURL.pdf)

This is the changed script that you have used..
this.resolveNode("#event").submit.target = "mailto:[email protected]; " + emailFromTxt .rawValue + "?cc=" + strCCAddress + "&subject=email data&body=This is the body  text.";
If the above script does not work, try the below script to send CC Email Address.
var strToAddress, strCCAddress, strSubject, strMessage
strToAddress = "[email protected]";
strCCAddress = "[email protected]";
strSubject = txtSubject.rawValue;
strMessage = txtMessage.rawValue;
event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF",cCharset:"utf-8"});
Thanks
Srini

Similar Messages

  • Submit by email - two related questions

    Windows 7 Ultimate
    MS Outlook 2007
    LiveCycle Designer ES 8.2
    Reader X
    I'm very new to LiveCycle & have just created my first form with a "submit by email" button which sends the data from the form as an xml file.
    I can see how sending as xml would make sense if the idea was to use the form to collect data from lots of sources that needed collating (e.g. a survey) but
    What if it's something like a job application form, so I'd need to see each one seperately? So, how do I set the email button to send a copy of the completed form itself, as a pdf?
    If I do need to collate data, what do i do with the xml file - how do i get multiple xml files from different people to import into.........what, a spreadsheet, a database, something else.....?
    Thanks,
    Boris

    Hi Boris,
    In Addition to Radzmar Post you can try the below mentioned steps to send the completed form as PDF and not XML
    You'll need to change your email submit to a plain old "Button",
    In the Object tab specify the Control Type as "Submit". This will give you a Submit tab.
    Then on the Submit tab set the Submit to URL field to be mailto:mailaddress.
    In the Submit As dropdown select PDF.
      If you want recipients using Reader to save form data, you'll need to make sure the PDF is Reader-enabled in Acrobat
    Hope it helps
    ~Pranav

  • Submit Button sent to two email address

    I have a form with a submit button that sends the content to
    an email address via "cc". I need the "to" to send to an email
    address that the user provides when filling out the form. How do I
    get the information the user filled out in a field to regenerate
    itself in the "to" line of the submit button email? The code is
    below, with the "?????" representing the text I'm missing to
    represent the email address the user entered in a form field called
    "NomineeEmail" .
    <input type="hidden" name="mreturn" value="
    http://intranet/index/">
    <input type="hidden" name="mfrom"
    value="[email protected]">
    <input type="hidden" name="msubject"
    value="Nomination">
    <input type="hidden" name="mtype" value="html">
    <input type="hidden" name="mto" value="??????">
    <input type="hidden" name="mcc"
    value="[email protected]">
    <input type="hidden" name="mreturnmsg"
    value="<center>Thank you for your
    submission.</center>">

    > What scripting is the form data being submitted to?
    > If a third-party script, what do the instructions for
    that script say?
    if it's formmail or a formmail clone-
    http://scriptarchive.com/faq/formmail.html#q2
    2. Can I have multiple recipients?
    Answer:
    Yes, all you have to do is put multiple e-mail addresses in
    the recipient
    field of your form, separated by commas.
       <input type=hidden name="recipient"
     value="[email protected],[email protected]">
    The email addresses must be in domains listed in the allowed
    recipient
    section.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • "Submit by Email" Not Working in Lotus Notes

    One of two things happens when the email recipient of my LiveCycle PDF form clicks "Submit by Email":
    1)  The user gets prompted to specify "Submit by Desktop Email Application" or "Internet Email"
    The form instantly reappears in the person's own mailbox, which they can then forward to the correct recipient, who receives it as formmail
    or
    2)  The user gets prompted to specify "Submit by Desktop Email Application" or "Internet Email"
    The form instantly disappears and never reappears, in the sender's email or anywhere else.
    Any help / advice / commisserating comments greatly appreciated!

    Check out: http://www.pdfemail.net/
    PDFEmail.net can send PDF form submissions to any recipient w/o the need to 3rd party client-side email software such as Outlook or Lotus Notes.
    PDFEmail.net creates ASP.net scripts, which you upload to your Microsoft .net web server, and point the submit button's action to the script URL.
    PDFEmail.net works with Adobe Acrobat and LiveCycle PDF forms.
    PDFEmail.net includes 1 year of free technical support.
    No programming neccessary!

  • Can an Acrobat Pro DC fillable form have a submit by email button that works in all browsers?

    Last time I attempted to make an online fillable pdf form the submit (to email) button wouldn't work in all browsers.
    Has this been addressed in Acrobat Pro DC?
    What is the best way to obtain a successful result?

    Two issues may affect the ability to successfully receive the PDF submission:
    First, the built-in PDF "Viewers" lack the ability to submit PDF form and form data, viewers are not compatible with Live-Cycle XFA PDFs, and they lack Extended Reader Rights proprietary to Adobe Software. End-users will need to disable the default built-in viewer, and enable Adobe Reader as the default PDF viewer on the default browser.
    Visit the following website to learn how to enable Adobe Reader:  Acrobat Help | Display PDF in browser | Acrobat, Reader XI
    Second, submitting to an email address may not send; because, the default client-side email may not be configured correctly. To bypass client-side email software you can set the submit button action to point an URL of a server-side script, such as PHP or ASP.net. The script can take the submission and send using SMTP account without the need for OUTLOOK or web-mail.
    Visit the following website for online server-side script examples:
    www.pdfemail.net/examples/

  • Submit By Email button not working in FireFox 25.0.1

    If the form is saved to desktop or opened in IE, we are not seeing any issues. However, when clicking on the submit by email button in in FireFox 25.0.1, a pop-up appears to choose the default email program or a web email program. We use Outlook and it is set by default. After checking the Outlook option, the form freezes for about a minute and the email window with the PDF attached never appears.
    I'm using the built-in Submit By Email button in Livecycle Designer 9.
    <event name="event__click" activity="click">
    <submit format="pdf" textEncoding="UTF-8" target="mailto:[email protected]?subject=EBSS User Renewal Request- Approval Needed Request"/>
    </event>

    If the PDF submits to a server-side script URL it can bypass client-side email software.
    Try the online PDF submission examples and see if it works for you in Mozilla FireFox:
    http://www.pdfemail.net/examples/
    You should also make sure the browser is using the Adobe Reader plugin as the default PDF reader.
    http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html

  • Acrobat 7 Pro - form won't submit via email, and data won't submit either

    Hi. I am trying to create a form for end users at my website to be able to open the form in Reader, enter their data in the form, and click on the "Submit" button to email it back to me (or any other way it can come back would be okay... as long as I can get the data).
    In doing some research on program software needed to do this, I came to the conclusion I needed to have the Adobe suite (Acrobat Pro 7, Distiller 7, and Designer 7), and so I spent a lot of money obtaining this software. I also have just downloaded Reader 9.0 (the most recent).
    Here are some particulars:
    1. Following directions Ive found on Adobe online, and the Help files as well as in this forum, in the form (in Designer), I have the Submit button going to a URL of mailto:[email protected].
    2. I've saved the form as a Static PDF Form File in Designer. Things are going well.
    3. The form works great in PDF Preview all form fields are setup and act correctly. Super!
    4. I FTP my file to the appropriate website, where once the link to the form is clicked the form opens (in Reader) for my users. Perfect!
    5. The user then opens the form, and before they start to fill it out, a popup shows this:
    Sending Data Fields By Email. Please note: This form contains an email submit button. Clicking this button will email a data file containing data you type into this form. However, the form itself will not be sent. Remember, you cannot save a completed copy of this form with Adobe Reader 9
    Then you have the option to Dont show again and a button to Close.
    6. After clicking Close, the user is then able to fill in the fields. These fields are standard fields, nothing exceptional, nothing fancy, just text.
    7. At the end of the form is the Submit button. When a user clicks this, NOTHING happens. Even when you try to do the File/Send thing, the form will send, but none of the data. Im not so happy right now L
    8. In this forum, I now see directions to Reader Enable in Adobe Pro (I do have Adobe Pro). The directions say Advanced/Enable Reader (as in one of the above posts is stated, 'Advanced > Enable Usage Rights in Adobe Reader'). However, I do not have an Enable Usage Rights in Adobe Reader under my Advanced tab. So, continuing to read in other similar posts, I find others dont have this option either so, one question is, where is it??? ;-)
    9. Now I see what appears to be another piece of Adobe software that I need, that is LiveCycle? I think Im getting in over my head, as I dont understand
    I am new to all this, and am doing my best, but now Im totally confused. All I want to do is have my measly little form open up and have people fill it in and email it back to me so that I can take that data and work with it.
    I run (or am trying to run) a non-profit (i.e., Im paying 100% of the bill) website for local Humane Societies who can facilitate offering online Adoption Applications (this is the form Im trying to make happen). I got the form made, and its fillable its just not being able to be submitted online; and when it DID get submitted (first try or so), it came through with no data, and the .xml file data wouldnt populate.
    Bottom line question: Is this, what Im trying to do, feasible or not? Im just a simple soul trying to help out some animals. Im not a programmer, so if thats what it takes I guess Im gonna have to give up and forget it. I only wanted to help make things easer for folks to adopt a pet.
    Any help by anyone would be totally and gratefully appreciated. Thank you.
    keywords: empty form, form not submitting, can't email form, data not transferring, no data in form, can't submit form, can't submit data

    Hi, and thank you for the reply.
    I've already spent several hundred dollars on getting Adobe Acrobat software, and was hoping there was some work-around on this? What did people do before LiveCycle for instance when they needed to get data from submitted forms via email?
    Please don't misunderstand, but as in my example described above, what can a 3rd party do for me (to enable more 'robust rights') that I can't do myself? I'm trying to figure out if I have the software to do it, paid for the software that is "supposed" to do it, why then I need to pay more money to someone else to make the software do what it's supposed to? I sure don't want to have to pay someone to fix it each time I need to make a change in my form for instance...
    I'm confused I guess - I suppose the purpose of my asking on the forum here was to hopefully gain some know-how as how to go about doing this myself vs. paying someone else to do it for me. I want to learn, but just don't know where to start. Or, maybe the software I have just doesn't do what I believed it was capable of doing?
    Guidance and/or suggestions from all on this point would be very appreciated. Thank you.

  • Submit by Email - asks "as a link or an attachment"

    Have designed a form in Acrobat that we want our customers to fill out and return to us via email by clicking on a button.
    We have created a button that has the submit by email function.
    We have enabled reader rights on the document.
    However, when we click the button, the user gets a screen asking:
    "How would you like to email this document?
    Send a link (URL) to the original, unmodified pdf file on the web?
    Send a copy of the pdf file, including your changes, as an attachment?"
    All we want to happen is the last option: Send a copy of the pdf file. Is there a setting somewhere that we can tag to skip the scenario above and just proceed to open Outlook and attach the pdf as a file.
    Thanks for any suggestions

    Apparently this happens if the client is using a webmail client.
    If Outlook is the default, Outlook creates a new email with the form as an attachment without a problem.
    Not sure about OE or other email clients.
    Due to the number of people using webmail, I would be cautious about using the "send as email" function in Adobe.
    Tomster2

  • Submit by email with Mac OS

    Hi there,
    First time posting.  Thanks to everyone who is so amazing at answering questions here. I've learned alot.
    I have a form created with Live Cycle Designer ES4.  I have enabled reader rights by doing "Save as other" in Acrobat Pro.
    The "Submit by Email" function is setup to send the "complete PDF" as an attachment.  It works GREAT on a PC - perfect actually!  I get that popup box asking if I want to use my 'default email application' or 'webmail'.
    On a MAC however, that same button does nothing when pressed.  I have made sure I am using the latest version of Adobe Reader on the mac and that I am not viewing the form through preview or any other app.
    Does anyone have any advice as to how I can get this working on a MAC?
    Thanks so much in advance!

    It’s a wonder you could understand what I meant and glad you got it figured out here is an improved version of what I tried to say: (May help others struggling with same issue.
    Sorry No advice. You can't, because Adobe it its shortsightedness hasn't built in XML based PDF support into the Mac Version. And probably never will. Adobe after 20-25 years still considers Macs as toys not really meant for serious work. Despite the fact, were it not for Mac users, And Adobe writing products for Mac first, they would still amount to a Font House today. For two years or more they wrote exclusively for Mac until PC's accepted them, after Mac Users worked the bugs out. Then we were all but abandoned.
    We can read XML based PDF's, but can do nothing with them . What we can do, is re-save them which converts them to Plain PDF's. Then go to Forms Manager, and setup the form which will work on all Platforms.
    So what you need to do is if you want your audience to include Mac users as well is avoid Lifecycle created forms and don't use any XML Based PDF Form . Create regular PDF forms and will it work on any platform.

  • Submit by Email Without Automatically Sending Email???

    I'm trying to distribute a form that will "submit by email" when the user is finished filling it out. Then when our admin receives the form, have it automatically ask what dataset to add it to.
    This works fine, EXCEPT when the user submits the form, it automatically sends the email right away - straight to the Outlook "Outbox" folder. I want it to create the email (with PDF attachment), but wait for the user to hit send. This is so they can attach additional files to the email or add comments to the body of the email.
    Right now this doesn't seem possible. I can send it without using the "Distribute Form" option in the menus, but then the popup asking what dataset to add it to doesn't appear.
    Any ideas?

    Sure thing, Zoe. Thanks for asking.<br /><br />I've set it up a couple of ways, testing them, and they both seem to work the same way. I currently have it set up with a generic button, type "Button", control type "Submit" with "Submit to URL:" set to "mailto:<emailaddress>" and "Submit as" set to PDF in the Submit tab.<br /><br />I've also used a "Email Submit" button for this, with the email address and subject line set appropriately. Both of these methods seem to work the same way. I haven't tried an "HTTP Submit" button method yet, but I would presume it to work the same also.<br /><br />Any ideas? Thanks for the help.

  • Submit by Email... but to where?

    I have created a form for users to fill with a "Submit by Email" button for users to send in their finished form.
    I created the "Submit by Email" as standard button object, contol type:Submit, submit as:PDF, and submit to URL: [email protected]
    While testing the page in LifeCycle Designer, Preview PDF, clicking on this button results in security warning indicating
    This document is trying to connect to:
    file///C:/Users/MyUserName/AppData/Local/Temp/[email protected]
    If you trust this site, choose Allow. If you do not trust this site, choose Block
    Is this just an artifact of being in Preview PDF, or is there something else going on, or is my "Submit to Email" button flawed?
    Thanks
    Gordon

    I am still not getting the desired results. I grabbed a few screen shots if that will help.
    First is the object's Field Tab
    Next is the object's Submit Tab
    Finally the warning I get when I try to Submit the form
    If you want to try it yourself, it is available at
    http://sites.google.com/site/coppercountrycurlingclub/membership-application--v0-1/members hip-application
    Be aware that all elements at the top of the form (except email address) are required before the form will permit you to submit the form.
    Thanks

  • Submit by email doesn't work in Acrobat Reader to send PDF

    I am making a fillable PDF and users on Acrobat Reader cannot email pdf, only data file. I need them to be able to send a pdf. What am I doing wrong?

    Don't use the regular "'submit by email button." If you use this button, you can only submit the data as XML. Instead, make your own button.
    In the Object library under Standard objects, click and drag a plain button to your form. Change the Control Type to Submit. Now you should have a new tab called Submit with a "submit to URL" option.  In that field type the return email address in the following format:  mailto:[email protected]  Toward the bottom of the same option, there is a field that says "submit" and the choice is XML data package.  Change that to PDF.  Then change the name of the button to "Submit by Email."  Now when you preview your form and click the Submit by Email button, it should mail the completed form as a PDF instead of simply mailing the raw data.

  • Submit via Email Button

    Hello,
    What Form is it?
    I have developed a timesheet form that was coverted from a excel spreadsheet into pdf. The form is located on the Comapny's Intranet for all staff to access. It was currently used to print out and fill in by hand until we started reducing ther amount we print.
    The issue?
    I am having an issue when submitting a form via email. It will open up Outlook and attach to the outgoing mail but it attaches as an xml. I am curious as too how I change this to a pdf. Been bugging me for a while now and I have had no luck myself.
    Any help will be greatly appreciated.
    Many thanks

    George thank you for your reply.
    The problem I have at the minute is I have used a simple Submit By Email and even when I test that with adobe reader or preview in when I am editing the form I still get xml file format.
    I have tried to create a simple button and change its control type to a Submit and it brings up a Submit tab and says Submit to URL. It also allows me to change the file to a pdf. Am I in the right place?

  • Multiple signatures, first signs fine, but won't submit via email

    I have a form with three digital signatures. After the first person signs, they click submit to send to the next person who will sign. That person clicks submit after they sign to send the form to HR. However, when the first person signs and clicks submit, the email process opens successfully, but never sends because the message says two signatures are unsigned. This is a true and valid state, but I need the submit button to work even though the additional two signatures to be signed in order.
    FYI, I do have a collections set up on the first two signatures to lock all fields except the signatures and radio buttons on the second signature.
    Thanks for any help available,
    MDawn

    Hi, and thank you for the reply.
    I've already spent several hundred dollars on getting Adobe Acrobat software, and was hoping there was some work-around on this? What did people do before LiveCycle for instance when they needed to get data from submitted forms via email?
    Please don't misunderstand, but as in my example described above, what can a 3rd party do for me (to enable more 'robust rights') that I can't do myself? I'm trying to figure out if I have the software to do it, paid for the software that is "supposed" to do it, why then I need to pay more money to someone else to make the software do what it's supposed to? I sure don't want to have to pay someone to fix it each time I need to make a change in my form for instance...
    I'm confused I guess - I suppose the purpose of my asking on the forum here was to hopefully gain some know-how as how to go about doing this myself vs. paying someone else to do it for me. I want to learn, but just don't know where to start. Or, maybe the software I have just doesn't do what I believed it was capable of doing?
    Guidance and/or suggestions from all on this point would be very appreciated. Thank you.

  • Acrobat Reader PPC 2 and submit by email

    Hi,
    I searched the forums before posting this question. I created a form with Live cycle Designer which had a submit by email button (with to address set). Running this form on a PDA (Acrobat Reader Pocket PC 2) is fine, however when I try to submit the form it pops up an empty email mail message (i.e. no to address or subject, but with attachment). Is there anyway to get it to at least populate the to address?

    Don't use the regular "'submit by email button." If you use this button, you can only submit the data as XML. Instead, make your own button.
    In the Object library under Standard objects, click and drag a plain button to your form. Change the Control Type to Submit. Now you should have a new tab called Submit with a "submit to URL" option.  In that field type the return email address in the following format:  mailto:[email protected]  Toward the bottom of the same option, there is a field that says "submit" and the choice is XML data package.  Change that to PDF.  Then change the name of the button to "Submit by Email."  Now when you preview your form and click the Submit by Email button, it should mail the completed form as a PDF instead of simply mailing the raw data.

Maybe you are looking for

  • 0CS_Item with time-dependent hierarchy

    Dear Experts, we are discussing pros and cons for a time-dependent item catalog (characteristic 0CS_item with time dependent hierarchy in BW) within consolidation SEM BCS 4.0. Does anybody has experiences on this topic? I am quite sure it will be a p

  • Crystal Reports 2008 sp3 hangs while connecting to SAP BW

    I've got CR 2008 12.3.0.601 connecting to SAP BW Netweaver 7.0 EPH 1 with a BOBJ Enterprise XI version 12.3.0.601 and when I try to connect / use the SAP open a query (integration kit portion of CR) I can see the querries but once I try to open a que

  • Downloaded Photohops CC on new iMac. However I got a Dutch version instead of an English one. How can I change the language?

    In my account preferred language is English. I installed Adobe CC and downloaded Photoshop and Bridge. Both are in Dutch, even after a reinstallation, having checked the account language (English). I would like to switch to the English version which

  • PE8 selection feathering

    Hello- I'm having a weird issue where the Quick Selection Tool is feathering.  I checked Refine Edge and it's all at 0.  I checked the eraser and it's set to 100% hardness.  But when I erase the selected area, it feathers into the part I'm trying to

  • Can't set up new Airport Express

    My old Airport Express dies so I buy a new one. I use the Airport just for connecting to my stereo for itunes etc. Plug it in right by the computer and get the flashing amber light. Go to the set up assistant and choose 'Set up a new Airport Base Sta