Email submit button(s) help

I have a 5 page form and I need each page to go to a different email adress.  I have put a different email submit button on each page, but is there a way to script the button to only send the current page and not any of the others?  Or have one main email submit button that sends each page to a different email address?  I am new to Adobe LiveCycle Designer ES, but I have a (VB) programming background, so it seems like it should be possible with code  Thanks
Adobe LiveCycle Designer ES ver 8.2

Hi,
The submit by email function will attach the complete form to the email. It cannot (afaik) split a form into five different PDFs.
However there are workarounds.
If you save the form as a Dynamic XML form in the save as dialog, then you can show and hide pages.
Here is an example of a form that changes the presence property of pages, depending on the choice selected from the dropdown.
http://www.assuredynamics.com/index.php/category/portfolio/showing-and-hiding-pages/
When it comes to something like this it is helpful to split the script. The mouseUp event fires before the click event.
For example for the email button on page 1, you can modify the script in the example to hide each of the pages 2-5 in the mouseUp event and then in the click event have the email script. In the postSubmit event you could have script to show all the pages again.
A word of caution - if the user has Reader then the form needs to be Reader Enabled, otherwise the submit as PDF will fail silently.
Hope that helps,
Niall
Assure Dynamics

Similar Messages

  • Help with making an Email Submit button on a form!

    Im making a form using livecycle for the first time.
    Im trying to put on it a email submit button - i used email submit field and made the button. Then in the Objects Palette, in the box that says email address i put in the email address that i want it to be sent to. I then tried to email the form, and i received an email, but the attachment was just a bunch of codes, not the form. I want the email to come through with the PDF form.
    I searched on help and this is what i found:
    3.
    In the Control Type area, select Submit. Data will be submitted according to the settings in the Submit tab.
    4.
    Click the Submit tab and type the URL protocol in the Submit to URL box.
    To
    Use this URL protocol
    Example
    Submit the package to an ftp site
    ftp
    ftp://ftp.gnu.org/gnu/GPL
    Submit the package to a web server
    http
    http://myserver/cgi-bin/
    Submit the package to a secure web server
    https
    https://myserver/cgi-bin/
    Submit the package to an email address
    mailto
    mailto:[email protected]
    5.
    Select PDF from the Submit As list.
    I cant find where to change these options - can someone help?
    Thanks!

    Hi,
    The issue is that if the form is not Reader Enabled, then users with Reader cannot submit the form as a PDF.
    They can submit it as an XML file and then you would re-import this back into the form on receipt. It is an extra step, but it does have the advantage that the data being submitted as an XML file is very small.
    If you really need/want the form to be submitted as a PDF AND your users have Reader, then the form will have to be Reader Enabled.
    There are two options:
    Reader Enable using Acrobat Standard (version 9) or Acrobat Professional (version 8). This will give certain rights, like the ability for users with Reader to save the form and for the form to be submitted as a PDF. However there are licensing restrictions, see EULA.
    The other option is to Reader Enable the form using LiveCycle Reader Extensions ES2. This is a server product, which entails additional cost and a cost to Reader Enable each form. It is intended for processing large volumes of forms/large volumes of data.
    There is a summary here:
    http://assure.ly/gYyYc2
    So there are a couple of options.
    Form NOT Reader Enabled:
    Users cannot save the data they input.
    Data must be submitted as an XML file and processed on receipt.
    Form IS Reader Enabled:
    Users can save the data they input.
    Data can be submitted as a PDF (or XML file).
    Hope that helps,
    Niall
    Assure Dynamics

  • I want to have users submit the form in PDF format but it doesn't work using the email submit button

    Hi all,
    I have a form that I want to be returned to a specific email address as a PDF File. This is so that reservations people can open the pdf, and extract the information from it. Keeping it as a PDF will allow them to easily read and use the form.
    When I use the "Add and Email Submit button" approach, as outlined in the "How to" area, everything works fine, except that the format of the submitted file is in xml, not Pdf which is what I need it in.
    I then tried adding a Button to the document from the Library, and set it's "Control Type" to "Submit". This provided me with the submit sub-tab, where I set the "Submit Format" to PDF. In the "Submit to Url", I entered the following - "mailto:[email protected]" (without the quotes)
    The first approach works, but is not in the PDF format that I need (I believe).
    The second approach keeps giving the following error when one selects the submit button - "This operation is not permitted".
    We use Lotus Notes (yes, I know...not my favorite either, and it may be the problem here).
    Any help that might be provided is greatly appreciated!!
    Rob

    Thanks, but, using the "free" version of Reader, there is no opportunity to open nor import the xml data - the menu options do not exist - there is no import listed.
    If we try to open the xml file directly, then we get an error - something to the effect of "unsupported file type, or the file is corrupted".
    I just noticed in my Pro version that there is the command File ->Form Data ->Import Data to Form... command. Is this what you are referring to?
    What do you recommend? Perhaps the easiest thing to do would be to purchase a few copies of Acrobat Pro for the reservations people to use? I was hoping that the free version of reader would do it, but perhaps not?
    Thanks again,
    Rob

  • Email submit button doesn't work with Thunderbird

    I created a LiveCycle (v8.2.1) form with the email submit button. Works fine if the sender is using Outlook. If their using Thunderbird, it does not. I installed Thunderbird on my system (normally I use Outlook) and set Control Panel/Internet Options/Programs email to use Mozilla Thunderbird as the email program. When I click the Email button on my LiveCycle PDF form, I get a message telling me: Select an Email Client. The "Desktop Email Application" radio button is checked and that should be fine; the explanation for this button indicates that it should be checked "if you currently use an email application such as Microsoft Outlook Express, Microsoft Outlook, Eudora, or Mail.". I leave that checked, since I am using an email application and click OK. After 20-30 seconds, I get a message with the title bar: Microsoft Office Outlook "A program is trying to access e-mail address information stored in Outlook..." Allow|Deny|Help. I click Deny. After a minute or so, an Outlook "New" email window appears with the appropriate information from my LiveCycle PDF form. Right content, wrong email client. Since Thunderbird is my "default" email application, where is LiveCycle coming up with Outlook? What do my customers do who don't use Outlook?
    I hope someone has a good solution.
    Thanks.

    When you click the submit button, do you get a window that has the title "Select Email Client"and has the options of "Desktop Email Application" and "Internet Email"? If not, does anything at all happen?
    Note that Mac users must have Acrobat or Reader installed and be viewing the PDF in Acrobat or Reader for it to work. Many (most?) Mac users have the Preview Application as their default PDF viewer, and it does not support many interactive features such as form submissions. Although some third-party PDF viewers for Windows support form submissions, many do not.
    For those that do not use PDF viewers that support form submissions, they will have to manually attach the document to an email message.

  • ADOBE LiveCycle Designer 8 - EMAIL SUBMIT BUTTON DOES NOT WORK

    I created a new form in Adobe LiveCycle Designer 8, but the email submit button, nor a regular button assigned with a 'submit' function will do anything. It should initiate a new Outlook email but it does not. My default programs are set correctly (default email program and the default "mailto" program are set to Outlook). This document was created not only with ALC8, but on a Windows Vista PC with MS Office 2007. I ran a test to see if it would work on a WinXP SP2 machine with Office 2003 and it still did not work.
    Can anyone help?

    Alan
    Though not an expert, I've created a few forms with the Submit by Email button. If you've already done this then sorry for asking, but did you go through the Acrobat Distribution (Forms>Distribute Forms)process after creating the form in LC8? As far as I can tell the email submit button doesn't work without this stage.
    This confirms the email submission address, then sets up a dataset to be saved in a location of your choice.
    filename_dataset_0001.pdf
    then a file type that can be edited, saved and submitted by Reader users:
    filename_pub_0001.pdf
    You can save this to your intranet server or email direct to the recipient.
    When the submit button is then used you receive a copy of the whole form which on opening will prompt you to add it to the dataset. Receiving and adding multiple forms to the data set is straightforward. You will see them all listed in the viewer above the form itself. From here you can also then select and export the data to Excel via xml or as a csv file.
    Note that any changes you make to the form should be to the original document and the distribution process repeated, otherwise the functionality of the form will be affected.
    That's about the limit of my knowledge I'm afraid, therefore if you have already tried this and are still having problems then hopefully someone else can help out.
    Regards

  • Email submit button issue

    Hi Guys,
    I have designed few forms recently and i am fairly new to livecyle, I have actually 2 issues, bit odd and i have tried to be as much discriptive as i can.
    email submit button on all my forms works but it sends email to one perticular address and not to one that i programmed it to.
    I.e. Form 1 - email to  [email protected] - when i press submit button it will send email to [email protected]
    Form 2 - email to [email protected] - when i press submit button it will send email to [email protected]
    Form 3 - email to [email protected] - when submit button is pressed it sends email to [email protected]
    Now when i use this button on actual form it sends email to right addresse but it is obviously in XML format and wouldnt work for us, when i use button on distributed copy of the form (created via distribute form button) it sends email to wrong addresse in PDF formate (which is the formate we like).
    Also whatever i put in Email Subject box - it will always put "submitting completed form" in the email subject line.
    Not sure if it makes any different but we use outlook and i have tried this from several pcs.
    I think i have cheked and rechecked everything and can't fix it, any help would be great.
    Process i use to create this button is - Insert >standard>email submit, i will then put desired email address and email subject in relevant fields under Object pellette.
    Thanks,
    H

    There are two ways to set the adress in LiveCycle I know:
    1st is with the button itself, second is with Javascript/Formcalc.
    If I got you right and you have 3 different forms you could search for the [email protected] adress in the xml's and exchange it there or check out where the form gains the mail adress from. It's the easiest method to get rid of something you are not that sure where it is located in the form but know what it does ;D . (I had some similar problem since I overtook forms of someone else.)
    Did you check this thread out? http://forums.adobe.com/thread/462681?tstart=0
    Paul gave an example there how to deal with the various things on mail buttons.
    Edit: PS: On which event did you script it? Normally you can't script on the mail button itself so you need a fake button like Paul said.
    I'm also not good with Reader Extensions, since I can't experiment with those sry

  • Email Submit Button - Crash (Not severe)

    To reproduce:
    1. Create a new blank form. Select Next.
    2. Select Defaults. Select Next.
    3. Select any Return Method (E.g. Print) Select Next.
    4. Select Finish to start.
    5. Insert an Email Submit Button.
    6. Leave the Email Address and Subject fields blank.
    7. On the click event for example, type a code (e.g. app.fullscreen = true;)
    8. Going back to the email field type an email address or subject.
    9. Designer wouldn't be able to catch the error and crash.
    This bug report is tagged as not severe since users can circumvent by simply avoiding this sequence. Note that other similar actions may trigger this event.

    Alan
    Though not an expert, I've created a few forms with the Submit by Email button. If you've already done this then sorry for asking, but did you go through the Acrobat Distribution (Forms>Distribute Forms)process after creating the form in LC8? As far as I can tell the email submit button doesn't work without this stage.
    This confirms the email submission address, then sets up a dataset to be saved in a location of your choice.
    filename_dataset_0001.pdf
    then a file type that can be edited, saved and submitted by Reader users:
    filename_pub_0001.pdf
    You can save this to your intranet server or email direct to the recipient.
    When the submit button is then used you receive a copy of the whole form which on opening will prompt you to add it to the dataset. Receiving and adding multiple forms to the data set is straightforward. You will see them all listed in the viewer above the form itself. From here you can also then select and export the data to Excel via xml or as a csv file.
    Note that any changes you make to the form should be to the original document and the distribution process repeated, otherwise the functionality of the form will be affected.
    That's about the limit of my knowledge I'm afraid, therefore if you have already tried this and are still having problems then hopefully someone else can help out.
    Regards

  • Email submit button concatenate subject and body

    Hello Expert,
    I'm trying to modify what the body of the email will look like once the user has pressed an email submit button. In Livecycle designer, I clicked on the button and viewed java script code
    this.resolveNode("#event.#submit").target = "mailto:"+$record.XXXXXX.MAIL_ID.value+"?subject ="+" Subject line "+"&body="+"Body of the mail";
    Whenever i click the button its conacatenate the subject line with -- " Subject line &body body of the mail ".
    My requirement is to change the body of the mail. Can anyone help me on this issue.

    Hi Abdul,
    Try this. Create a regular button and in the click event put this script.
    var mail;
    var add = mailAddress.rawValue; // the to mail address you want.
    var msg = "Sample message"; // This is the body of the mail Customize it as per need by fetching value from different fields
    var sub = "Sample Subject"; // This is the subject of the mail.
    event.target.mailDoc({
              bUI: true,
              cTo: add,
              cCc: '',
              cBcc: '',
              cSubject: sub,
              cMsg: msg
    Thanks,
    Bibhu.

  • Email submit button using drop down boxes, cc field and

    I have a form that I would like to have the employees use a drop down box that already exists on the form with names and email addresses and use those names in the to field of an email submit button.  Also, I do have a static cc: address in teh cc field and for the subject of the email to use  an existing field such as the name field as the subject of the email and attach the form to it.

    I tried that but it  does not seem to be working.  I am a JavaScript Novice.  I am trying  to use the mailto field based on email addresses in a dropdown box, a static cc field like cc: [email protected] and for the subject to be based on the company name field on the form.  But before all of that I want to make sure all the required fields are filled out.  help I have been working on this for over a year.  It may seem simple but it's not working.

  • Email Submit button works in Acrobat but not Reader

    I have a form with an email submit button.  When those who have Adobe Reader click on the Submit button, nothing happens.  For the users with Acrobat, the submit button works as designed. The users all have the latest version of Reader, Java and Flash.  When the Acrobat users click the button a box appears asking them to select Desktop or Internet email.  Once they make a selection, the form is sent.  When the Reader users click the button nothing happens.  I'm sure there must be a setting somewhere that I need to adjust.  Can you help me?

    Hi Susan,
    I appreciate we have meandered through this, but bear with us...
    Here is a screen shot of a regular button set up to return the completed form as a PDF.
    Now if you deploy this form WITHOUT Reader Enabling the form, then users with Reader will see this warning:
    However before you deploy the form open it in Acrobat and go to the Advanced menu (in version 9) and select "Extend features in Acrobat Reader" and save the form with an amended name. Then send this new "Reader extended" form out to the users with Reader and they will be able to return the completed PDF.
    Without seeing the actual form it is difficult to work out how the submit button is set up.
    Hope that helps,
    Niall

  • Email Submit Button - Change Text/Confirm submission

    I have an Email Submit Button on my survey, which I am 'distributing'.  I would like for it to do 2 things once you click on the "Email Submit Button":
    1) Text of the button changes once it been clicked on in order to show that the survey was submitted. Right now, all I can figure is how to have the text change when you roll over the box or for the secnod you click on the box-- i want the caption to change once its been clicked.
    2) a text box appears below that can act as a "thank you for submitting your survey...".
    any help and advice is much appreciated!

    Thanks for the response Paul.  I feel like i'm very close, but I'm still not there... I'm not sure where to enter this javascript you sent me.  The only script I know to find is the XML Source ...if that's the right place, where do I enter your code?
    <field name="Button1" y="241.3mm" x="66.675mm" w="73.025mm" h="9.525mm"><
    ui><
    button/></
    ui><
    font typeface="Myriad Pro"/><
    caption><
    value><
    exData contentType="text/html"><
    body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:APIVersion="2.5.6290.0"><p>simply<span style="xfa-spacerun:yes"> </span><span style="color:#ff0000;font-weight:bold">CLICK HERE</span> to submit via e-mail</p></body></
    exData></
    value><
    para vAlign="middle" hAlign="center" spaceAbove="0pt" spaceBelow="0pt" textIndent="0pt" marginLeft="0pt" marginRight="0pt"/><
    font typeface="Myriad Pro" baselineShift="0pt"/></
    caption><
    border hand="right"> 
    <?templateDesigner StyleID apbx2?>
    <edge stroke="raised"/><
    fill><
    color value="212,208,200"/></
    fill></
    border><
    bind match="none"/></
    field></
    subform>

  • PDF file size increases when I add a Email Submit button

    Hello,
    My PDF form is 87KB.  Once I add a Email submit button the file size jumps to 525KB.  Why?
    Reason this confuses me is that it seems to be inconsistent.  I have added this function to other PDF forms and the file size only increased a few KB.   Every now & then adding a button or Javascript will increase the file size.
    I have retraced my steps over & over, but I cannot find a answer to why this is happening.
    Thanks for the help everyone!
    -CM

    The problem is the font. Use Helvetica instead. When you do, Acrobat/Reader actually use a version of Arial anyway.
    When you use one of the non-base-14 fonts (Helvetica, Times, Courier, [and their bold, italic, bold italic variants] Symbol, and Zafp Dingbats) for a form field, Acrobat has to embed the entire font in the file, and some can be rather large. The base-14 fonts are guaranteed to be available for use by the compliant PDF viewer, so there is not need to embed them in the file. A viewer is allowed to substitute suitable replacement fonts, which is what Acrobat/Reader now do.
    The problem is you can't simply go back and change the font to Helvetica and see the full size reduction that you'd expect after you do a Save As. This is because Acrobat does not clean up everything as well as you might expect. So what you have to do is go back to a version of the form that does not have the button, or copy & paste the field from the old form to a new PDF that doesn't have any fields, but delete the button first. Then create the button anew.

  • Email body copy created by email submit button

    The body of a message created by the email submit button contains the following copy:
    "The attached file contains data that was entered into a form. It is not the form itself.
    The recipient of this data file should save it locally with a unique name. Adobe Acrobat Professional 7 or later can process this data by importing it back into the blank form or creating a spreadsheet from several data files. See Help in Adobe Acrobat Professional 7 for more details."
    How do I prevent this, or change the default copy?

    jimmy,
    I've also followed your advice. FYI I'm using LiveCycle Designer 7.1. My only problem is that I can't use HTML markup inside the HTTP Submit Button's URL attribute.
    For example, a
    tag in the HTTP Submit Button's URL attribute appears as just that inside the email body copy:
    . There's no line break.
    The default "Submit by Email" body copy message has a paragraph break as seen below:
    The attached file contains data that was entered into a form. It is not the form itself.
    The recipient of this data file should save it locally with a unique name. Adobe Acrobat Professional 7 or later can process this data by importing it back into the blank form or creating a spreadsheet from several data files. See Help in Adobe Acrobat Professional 7 for more details.
    My question is, how can I add HTML markup in the email body copy? Can this be done with the HTTP Submit button's URL attribute or can the Email Submit Button be customized to change the above email body copy?

  • Problem with Email Submit Button in  Interactive Form

    Hi All,
    I am using EMail Submit Button in InteractiveForm.
    At run time when i click on this button then it is sending this pdf file in the form of .xml file at given Email address but i want to send pdf format only.
    Can anyone help me how to solve the issue.
    Thanks & Regards
    Dinesh Kumar

    Hi,
    Try doing the following
    try using the simple 'Button'. In the button's object properties, in the tab named 'field', select 'Control Type: submit'.
    Then, in the 'submit' tab in the object properties, choose PDF in the 'submit format' dropdown field.
    In the 'submit to URL field' type:
    mailto:nameataddress.com?subject=mySubject&body=Done
    You may need to adjust the e-mail address, subject and body text.
    Regards
    Ayyapparaj

  • Customizing email body on email submit button

    Hi everyone,
    I'm trying to modify what the body of the email will look like once the user has pressed an email submit button. In Livecycle designer, I clicked on the button and viewed the xml source. I scrolled down to the following line:
                   <submit format="xml" textEncoding="UTF-8" target="mailto:test&test.com?subject=My subject"/>
    Then changed it to:
                   <submit format="xml" textEncoding="UTF-8" target="mailto:test&test.com?subject=My subject?body=new body"/>
    When I tested the button, the text "?body=new body" was appended to the subject line instead of being included in the body itself.
    I wondered if anyone could tell lme where I'm going wrong?
    Appreciate any help.

    What I ran across in my searching (that worked) was to create hidden fields that contained the data I wanted to use. I also used a "dummy" submit button. The "real" submit button was created as a literal submit button and the following code inserted into the click event of the "dummy" button (which is a Regular button)
    RealEmail.event__click.submit.target = "mailto:[email protected]?subject=" + SUBJECT.rawValue;
    //app.alert(RealEmail.event__click.submit.target);
    RealEmail.execEvent("click");
    This code was modified from another's answer, but does the job. The field "SUBJECT" is set as "Hidden" in the presence drop-down of the object tab. I suspect one could add '&body=' as follows
    RealEmail.event__click.submit.target = "mailto:[email protected]?subject=" + SUBJECT.rawValue + "&body=" + BODY.formattedValue;
    You would create the field "BODY" and insert the message text and call the formatted value to fill it in. Set the field to "Hidden" so it does not affect your form layout. I am open to being corrected by more experienced scripters (Please and thank you) if I am in error, here.

Maybe you are looking for

  • Safari doesn't display pdf file from within Dropbox

    When I click on a link on a web page that takes me to a pdf file located in a shared Dropbox folder, Safari only gives me a solid black page and doesn't open the pdf file.  All the other browsers do, Chrome, Firefox and even IE.  How can I fix this? 

  • Serial number does not work on second computer

    I've added a second in-design to my second laptop but the serial number does not work. What do I do?

  • Problem with Kensington Bluetooth PocketMouse on an iMac G5

    Hi I got a new Apple Wireless Keyboard and a Bluetooth mouse with a scrollwheel (Kensignton PocketMouse Bluetooth Optical). The Name and Battery Level information of the mouse does not show up on the Bluetooth tab of System Preferences > Keyboard & M

  • Iphone 4s gets very hot after playing asphalt7

    the phone got very hot after playing tht game on iphobe 4s jst curious it wont burn. my phone or processor right and is the epricessor covered in waranty i still have one year u

  • Server error in '/' Application Runtime error

    hello everyone, I have a sharepoint 2013 in a simple farm server configuration(web server and application server on the same server (windows server 2012), and a seperate sql server ( unsure of version, but will check).   All servers using domain auth