Email Button w/ Variable Subject?

For feedback, I have been using buttons set up to "Send
e-mail to" with an address of
[email protected]?subject=SubjectDescription
etc.
This works fine but it would be of service to students, and
considerably easier for me, if I could have the subject refer to a
variable instead of a fixed term as above. I would like the
variable to be the "slide label". That way, I could configure the
button and apply it quickly to different slides and easily know
what topic students were viewing as they asked the question. An
added benefit, and a considerable one at that, is I could start to
build a knowledge base of student questions that can help me
improve the course.
Is this possible? Is there another way to accomplish this
that might be better?
Many thanks,
Dr.B.

Hi Dr.B. and welcome to our community
I'm thinking that this won't be possible. For one thing, the
Slide Label isn't exposed anywhere that I'm aware of for use as a
variable. About the only thing I can think of would be to manually
configure each button to contain the Slide Label as part of the
Subject line. Keep in mind too that where you need a space, you
have to insert %20.
Cheers... Rick

Similar Messages

  • Send email button to include subject?

    Greetings:
    When configuring the On Success properties for a button, I
    choose "Send email", and in the Send email to field, I enter
    [email protected]?subject=Test.
    This works fine when previewing; an email pops up with the
    correct recipient and the Subject line appearing as expected.
    However, after publishing to SWF, the email functionality works
    again, but the subject line is blank.
    Does someone know how to include a subject line in an email
    generated by a "send email to" button after publishing?
    Thanks in advance!

    Hi again
    Ohhhh, THAT issue. Here is the fix. Captivate expects a full
    string with no spaces. So you can take one of the following
    approaches:
    * Smoosh together, as in
    [email protected]?subject="OrderEntry" (icky)
    * Use an underscore, as in
    [email protected]?subject="Order_Entry" (Better, but still
    icky)
    * Use the coding for a space, as in
    [email protected]?subject="Order%20Entry" (Yay! Best approach)
    Cheers... Rick

  • Can I script an email button to put one of the form fields in the subject line and to name the form?

    This is a fillable form on a website.  We want people to complete the form, then click on the email button to send it to us.  Prefer to have the "name" field populate in the "subject line" of the email, and also rename the form that same field name.  Is that possible?

    In the sample I used the below syntax to send an email..
    event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF"});
    The highlighted ones are local variables which will hold the value from the form fields.
    If you want to get the Subject from Name field in the form, use some thing like this.
         var strSubject = name.rawValue;
         //and then pass the value to the code.
         event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF"});
    Hope this helps..
    Thanks
    Srini

  • 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

  • Submit by email button ignoring specified email address and subject

    I have recently upgraded to CS5.5 and I am having trouble with the Submit by Email button in my form. 
    When I distribute the form the email address and subject specified on the button are ignored.  Instead, the form is submitted to my email address with the subject of 'Submitting Completed Form'. 
    I have tried creating the form a number of different ways (i.e. converting PDF created in inDesign, just in Acrobat from scratch, just in Livecycle Designer from scratch) with no success and the same result.  I have found I can change the email address if I go to Acrobat X Pro: Edit > Preferences > Identity but this is not an adequate work-around and does not fix the issue of the subject.
    My company develops forms for both internal and external clients that require this functionality.  The email subject is used to help identify which form it is and routes it to the appropriate department. 
    I have searched the web and this forum for answers but have not found an answer. 
    My question is:  How do I get the 'Submit by Email' button to work correctly?
    I have created many forms before using CS3 and have never encountered this problem.  At the moment the only way I can see to fix the problem is to go back to CS3 which seems ridiculous.  I thought later versions of software were supposed to work better not look the same and not work (sorry for the rant, frustration is getting the better of me).
    I need to use the Distribute Form as it states in the LiveCycle help:
    If you do not use the Distribute feature, form recipients who use Adobe Reader cannot save modifications to most PDF files, including forms filled with data.  They must either immediately return their data electronically or print the form and return the paper copy.
    I am using Acrobat 10 Pro and Livecycle Designer on Windows 7 64-Bit
    Any help will be greatly appreciated.

    What you are seeing is the intended behavior and I'm not sure why is has changed.
    When you distribute a form, it substitutes the email address you originally set up with the button with the one specified in your identity preference and the subject is set to "Submitting Completed Form". It makes a number of other changes to the document that make the distribution workflow possible. I do know that different code is used if the form is being used in a version of Acrobat/Reader prior to 9.
    With an acroform (not XFA), you can save a copy of the distributed form, allowing you to edit the scripts that among other things set the subject line of the email, so that a different subject line text is used. You can then re-enable the form and it should work OK. The problem is knowing exactly what needs to be changed and finding it, and I'm not certain that this is possible with an XFA form. I normally work with acroforms and know where to do it in Acrobat, but things are different in LiveCycle Designer.

  • Email button with file variables

    I need to have a button at the end of an swf that sends an
    email and includes variables from the file. Is that possible?
    I successfully put a button that opens outlook with the To:
    address as I defined. But I need to add variables from the file to
    the email either in the note or as an attachment.
    Also, if the user does not have Outlook, is there a way to
    still send an email?
    Any help or suggestions will be appreciated.
    Thanks,
    Denise

    wfsteadman wrote:
    Tony,
    Thanks for your reply. Everytime I have left the loop in, and put a checkbox to select the files it shows me all files in the database and when I have tried to have it only look at the file for the current record ID, I get errors. Any chance you could give me a hint on the code process based on the application I have setup?
    Thanks
    WallyYou tell us you get errors, but give no indication what errors - which might be a starting point; Have you done as Tony just suggested and selected the data from the table into local variables in the page process? if not, why not? if yes, post the modified code along with the error you are getting.
    See this example: Re: Send email with multiple attachments
    That is for sending multiple files, but the same principle applies - just remove the loop.
    Ta,
    Trent

  • Drop down lists and email buttons

    I am creating a form and I have about twenty items in a drop down list. I was wondering if and how I can set it so each item selected will cause an email button I have to change address. i.e item 1 sets the email button to [email protected] and item 2 sets the button to [email protected] I think it has something to do with binding but I only have basic training so I am lost. Any help that you can give will be greatly appreciated . Thank you in advance

    As mentioned, you can´t do that in InDesign but fortunately it´s fairly easy task to do in Acrobat Professional. You didn´t mention what are you sending, just an empty email that sender can fill in email client, whole PDF as attachment or some form data from PDF... all those options are possible by few lines of javascript in Acrobat side.
    I made you a quick sample which just opens up an email client, populates email address based on choise that user has made in combobox and some custom subject and body meassage text. You can find it from my dropbox: https://dl.dropbox.com/u/17227987/sampleform.pdf
    There´s only two formfields in that PDF; combobox for choosing email recipient (AA = [email protected], BB = [email protected] etc) and submit button. Check javascript code from
    -combobox´s properties > Validate tab and
    -button´s properties > Actions > Run a javascript.
    In combobox, small javascript sets the myemail variable´s value based on the choise user makes. In Button there´s small javascript that triggers the email client and uses the value of myemail variable as a target email address.
    ps. this sample probably works only in Acrobat and Adobe Reader. I have no idea how for instance MacOS Preview supports PDF javascript, probably not very well....=)

  • 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

  • Need to add senders email address into the subject header of my PHP form (somehow)

    Hello one and all,
    I have a PHP form which is working fine and sends our support team an email with the subject header 'Support'.
    I have been asked to fix this form to include the senders email address into the Subject header so that the support team can filter them easier and reply quicker.
    Any help would be very much appreciated indeed. The form code is below, let me know if you need the whole page.
    Thanks in advance,
    Bradley
    My current form PHP part looks like this: (and the HTML part is below in blue)
    <?php
        if($_GET["action"] == "email")
            $msg = "The following person need support:\n\n";
            $msg = $msg . "First Name: " . $_POST["FirstName"] . " " . $_POST["LastName"] . "\n";
            $msg = $msg . "Tel: " . $_POST["Tel"] . "\n";
            $msg = $msg . "Email: " . $_POST["FROM"] . "\n";
            $msg = $msg . "Support: " . $_POST["Support"] . "\n";
            $msg = $msg . "Model: " . $_POST["Model"] . "\n";
            $msg = $msg . "Comments: " . $_POST["Comments"] . "\n";
            $to ="[email protected]";
            $subject = "Support";
            $from = "From: " . $_POST["FROM"];
            mail($to, $subject, $msg, $emailFrom, $from);
            header("Location:support2.php");
    ?>
    and the HTML part of the fom is like this:
    <form id="form1" name="form1" method="post" action="support.php?action=email">
      <table width="700" border="0" cellspacing="10" cellpadding="10">
        <tr>
          <td valign="middle" class="formtext">*First name:</td>
          <td width="455" valign="middle"><label>
            <input name="FirstName" type="text" class="form-textbox" id="FirstName" />
          </label></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">*Last name:</td>
          <td valign="middle"><input name="LastName" type="text" class="form-textbox" id="LastName" /></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">*Email:</td>
          <td valign="middle"><input name="FROM" type="text" class="form-textbox" id="FROM" /></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">*Telephone:</td>
          <td valign="middle"><input name="Tel" type="text" class="form-textbox" id="Tel" /></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext"> </td>
          <td valign="middle"> </td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">*Support required:</td>
          <td valign="middle"><label>
            <select name="Support" class="form-dropdown" id="Support">
              <option selected="selected">Please select...</option>
              <option value="Connection Issues">Connection Issues</option>
              <option value="Technical Issues">Technical Issues</option>
              <option value="Furniture Faults">Furniture Faults</option>
              <option value="Other">Other</option>
            </select>
          </label></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">Chair model:</td>
          <td valign="middle"><input name="Model" type="text" class="form-textbox" id="Model" /></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">*Please describe your issue:</td>
          <td valign="middle"><textarea name="Comments" rows="5" class="form-textarea" id="Comments"></textarea></td>
        </tr>
        <tr>
          <td valign="middle" class="maintext"> </td>
          <td valign="middle" class="maintext"></td>
        </tr>
        <tr>
          <td valign="middle"> </td>
          <td valign="middle"><label>
            <input name="Submit" type="submit" class="form-submit-button" value="Submit" />
          </label></td>
        </tr>
      </table>
      </form>

    MurraySummers you sir, are an absolute legend! This worked perfect straight off the bat!
    I really apreciate your lightning fast reply!
    Thanks again.
    Bradley

  • Email button presets

    Hello,
    I need some help adapting the script below to my form:
    https://acrobat.com/#d=Nm2jjpCvBeW9w-T4mXtuWA.
    I took a stab at placing the submission script below in the submit button of my form and when it's done and saved and re-opened as a PDF, if you click submit, it does pop up with the javascript window asking you if you want to use your default mail client (in our case outlook) but if i hit ok in that window nothing else happens. The goal is that the person clicks submit and an outlook new message pops up with the filled form attached and the to field pre-populates with my email.
    I really like the idea they suggest here, to have the option of saving a "flattened" copy of the filled in form to your computer.
    I used LiveCycle ES2
    Your help is unimaginably appreciated.
    Ioana
    Re: Saving Fillable Form as non-fillable PDF
    Another very simple (less advance) approach would be to make the ENTIRE form protected, readOnly, nonInteractive, etc. by using the following script:
    xfa.form.form1.access = "protected";
    In my situation (if this helps anyone), all I wanted to do was enable my user to click an email button to auto-attach a copy of his/her form to an outgoing email, BUT prior to sending the email, I wanted the form to be flattened (i.e. protected). After the email was sent, I wanted it return back to it's open state. So what I did was create a custom email submit button, and added very simple scripts for the preSubmit and postSubmit events. NOTE: This assumes your user is using an email client which will auto-generate an outgoing email (vs. using an Internet email service like GMAIL). If you're using an interent email service, the follwoing scripts will work.
    1. Email button: This custom email button script allows me to set the subject, body message, to/cc fields, etc. and email the entire form (wth proper Rights) to a given recipient(s).
    Placed on a standard button's click event:
    var choice = xfa.host.messageBox("Press OK to submit this form using your default email client (e.g. Microsoft Outlook, Outlook Express, Eudora, Mail, etc.). Note: A copy of this form will be automatically attached to your email. \n\nPress Cancel if you currently use an Internet email service such as Gmail, Hotmail, or Yahoo to send email. You will need save this form on your computer and then manually attach it to an outgoing email (using your Internet email service) addressed to: [email protected]", " ", 3, 1);
    // Note: the above text was taken directly from the typical email submit button text. This gives you a way to modify the text if you want.
    if (choice == 1){
    var mail;
    var address = "[email protected]";
    var ccadd = ccAdd.rawValue; //taken from a field placed on the form
    var sub = "Subject goes here";
    var body = "See attatched file.";
    mail = "mailto: " + address + "?cc=" + ccadd + "&subject=" + sub + "&body=" + body;
    event.target.submitForm({
    cURL: mail,
    bEmpty: true,
    cSubmitAs: "PDF",
    cCharset: "utf-8"
    else{
    ProcessManager.terminateAction();
    2. Script added to same email button (created above) to "Protect" ALL form fields PRIOR to the form being emailed. Place on preSubmit event:
    xfa.form.form1.access = "protected";
    3. Script added to same email button (created above) to "reopen" ALL form fields AFTER it the form has been submitted. Place on postSubmit event:
    xfa.form.form1.access = "open";
    From there, the user can save/SaveAs the original file (currently opened on-screen, with active fields), knowing that he's sent a protected copy. Please note that you've sent a "form" with protect fields...it's still a form, vs a truly "flattened copy".  So if security is a major concern, you'd probably want to use a different approach: for example, a digital signature to track from integrity, or print to PDF. Also, this assumes you;re not concerned with tracking "mandatory fields" etc.
    As an alternate Step 3, you could interject a SaveAs script on the postSubmit event [app.execMenuItem("SaveAs") ] to allow your user to save a copy of the protected file somewhere on his/her computer after emailing it. Then he/she could simply cancel the current form (on-screen) - without saving it. This assumes you are not concerned with saving an "open field" version with completed data.
    Hopes this helps someone!
    S

    Anyone else having this issue or able to reproduce it?

  • Email button doesn't work

    Hi, I'm relatively new to this stuff...In LiveCylce Designer ES, I created an email button that when clicked, I want it to attach the current fill-in PDF and email to a fixed email address, cc the email address entered in a form field, pull a name from form to be included in Subject line. In the Script Editor, I chose JavaScript at the Language and put the following script under form1.#subform[0].Button1::mouseUp - (JavaScript, client)
    var cToAddr = "persons mail address";
    var cCCAddr = this.getField("Email").value; 
    var cStudentName = this.getField("StudentName").value;  
    var cSubLine = "Paperwork for " +  cStudentName;
    var cBody = "Message to submitter";
    this.mailDoc(bUI: true, cTo: cToAddr, cCc: cCCAddr,
                      cSubject: cSubLine, cMsg: cBody);
    When I test it, nothing happens (no error msg or anything) when I click the button. (Users will be using Adobe Reader.) Please help...thanks in advance.

    Paul,
    This is just a test version; I figure I would plug variations into several different forms I’m working on once I get it figured out. I didn’t extend this version; thought it would make it easier for you.
    Description:
    -          Email to a fixed email address
    -          CC to an address grabbed from form
    -          Include name from form in Subject line
    -          Body text
    Thanks a bunch for your help.

  • How can I edit the default settings for the Email button?

    I saw this question posted for February and as yet still unanswered. So I am now asking it again.
    I do not want to use my .mac account email address in my website. I want it linked to my domain. I have found no specific instructions for changing the default. Also my drag down "Link to" menu in the Inspector does not work.
    Thanks........
    eMac   Mac OS X (10.3.9)  
    eMac   Mac OS X (10.3.9)  

    While you can't edit the default email address in iWeb, there is a workaround which may suit.
    In Safari, locate a web page which has iWeb's email button on it (if you've already published a site, one of your own web pages is ideal). Control-click on the button and select 'Add Image to iPhoto Library'. Drag this image from the Media Browser to your iWeb page, select the image, and use the Link inspector to enable it as a hyperlink linking to 'An Email Message'. Enter whatever email address you like in the To box and a Subject for the message if you wish.
    To make things easier, create an iWeb library in iPhoto and add the email button to it for handy access.
    [ Visit here for iWeb Tips, Tricks and Hacks ]

  • Email button error works but gives Error message "10"

    I have "attach to email" buttons on my forms. I leave the email address blank for the person to fill in themselves. It works fine but on one form (and one form only) when clicking on the button an error message window comes up - with exclamation mark and the number "10", that's it. The button works (attached the file to an email) but still gives the message. My other forms don't give this message though the buttons appear identical.
    What could be causing this?
    (Livecycle 8.0)
    Thanks in advance, Marg

    Remove the "mailto:" from the Submit tab if you have the script code written in the event.
    But usually if you have "mailto:" in the submit tab and while you are preview mode, it will open two email windows. A new email with the subject as "Form Returned"..(This new email error will work only if Acrobat Pro is used by the Designer while previewing the form. If the Designer uses Acrobat Reader while previewing it does not even show any error and simply quits. You can check which one is used while previewing by going to your Windows -> Task Manager and see which EXE is running. For Acrobat Acrobat.EXE and for Reader it will be AcroRd32.EXE).
    Try removing the mailto: from the Submit tab and if you still have issues, may be you can send the file to [email protected] , I can have a look at it..
    Thanks
    Srini

  • Email button without submit

    Trying to setup an email button that just launches the email app with a "to" address but I keep getting a "/" at the end of the email.
    I've tried:
    xfa.host.gotoURL("mailto://[email protected]//[email protected]");
    app.launchURL("mailto://[email protected]//[email protected]");

    Hi Jono,
    Try
    app.launchURL(
    mailto:[email protected]?cc=[email protected]&bcc=[email protected]&subject=Message Title&body=Message Content);
    Seems to work in Acrobat 9.2 ... haven't tested any others.
    Bruce

  • Email Button - To: line blank and Cc: line with names listed

    I created an email button and I don't want the To: line filled with name(s) only the Cc: line this is what I have so far. What am I doing wrong?
    var sub
    sub = CTitle.rawValue;
    var ebody
    ebody = "The attached file is the filled-out form. Please open it to review the data."
    event.target.submitForm({cURL
    :"mailto: "";?&[email protected],[email protected];;&subject="+sub+"&body="+ebody,cSubmitAs:"PDF",cCharset:"utf-8"});

    I receive an error message:
    Microsoft Outlook does not recognize " "
    This is what have I have in the "on click" event:
    event.target.submitForm({cURL
    :"mailto:
    [email protected],[email protected];&subject=+sub+"&body="+ebody,cSubmitAs:"PDF",cCharset:"utf-8"});

Maybe you are looking for

  • How to get compilations to show up as one album in Albums view

    In albums view, the NPR Austin 100 song compilations (1 folder with 100 songs) I imported to itunes show up as 100 different albums with 1 song each, which is a mess and makes finding and viewing my regular 10+ song albums difficult. Also I want to b

  • Host String

    I've installed Oracle Forms 6i includingSQL Plus 8.0 on Win2000 server. no problem with user name and password but no Host string seems to work. Error message ORA-12203: TNS unable to connect. Any ideas what I should be using as the host string? Than

  • Is this HTML? Javascript? Or a Dreamweaver function?

    I am trying to learn javascript and I don't really know all commands in HTML, so does the following utilize any js or is it straight html? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <he

  • Why do I have sound only in one headphone, stereo and docking station?

    Why do I have sound only coming out of one side of headphone, car, stereo and docking station when playing itunes?

  • Printing Templates for Multiple Print Sizes

    It would have been nice to have been able to create printing templates of different sized prints on the same page like portrait photographers do. Features of QImage should have been incorporated.