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

Similar Messages

  • Adobe forms - using form field data to populate subject line and body of email

    HI
    I have created a form that can be submitted by e-mail. I would like the data entered into the form to populate the subject line and body of the email but have no idea of how to script this. I would be grateful if someone could have a look at the form and see how I can achieve this.
    For example
    subject line: Travel and accommodation form [Name] [EventName] [StartDate]
    Body:
    Please open the attached travel and accommodation for for [Name] who will be attending [EventName] on the [Start Date]
    Here is the code for my button:
    <field name="Submit" y="219.075mm" x="139.7mm" w="34.925mm" h="6mm">
                <ui>
                   <button/>
                </ui>
                <font typeface="Myriad Pro"/>
                <caption>
                   <value>
                      <text>Submit</text>
                   </value>
                   <para vAlign="middle" hAlign="center"/>
                   <font typeface="Myriad Pro"/>
                </caption>
                <border hand="right">
                   <?templateDesigner StyleID apbx2?>
                   <edge stroke="raised"/>
                   <fill>
                      <color value="212,208,200"/>
                   </fill>
                </border>
                <bind match="none"/>
                <event activity="click">
                   <submit format="pdf" textEncoding="UTF-16" target=mailto:[email protected] xdpContent="pdf datasets xfdf"/>
                </event>
             </field>
    Please excuse my ignorance as not competent with XML so any help would be gratefully received. Have already tried some methods posted on here already but not helped.

    You should post this to the LiveCycle Designer forum here if you haven't already.

  • How to modify Exchange 2013 TXT(SMS) notifications to not include the subject line or any of the message body of emails

    We have a group of users who are not permitted to download/save any emails they receive onto public or personal devices, they are only allowed to log in manually and view their mail through OWA (I realize there are ways to use OWA to download mail, however
    the users are explicitly forbidden from doing this, and any countermeasures that can be put in place, are/will be).
    With our new Exchange 2013 server, it seems it has the built in capability to send TXT(SMS) notifications instantly when a user receives mail.  We would like to allow our users to utilize this feature, however currently, the notification includes not
    only the sender of the email, but also the subject line and part of the message body.  As it stands, we can't have this as part of the email would then be saved on their device.
    I am wondering if there is a way to modify Exchange 2013 to not include the subject or message body, so that our users could at least get an instant notification 1-that they have a new email and 2-who it's from?
    Any information would be appreciated, thanks!

    We can configure SMS Text Message Notification for various situation like Calendar notifications, Voice mail notifications, Email notifications if your user's Mailbox hosted in Exchange Server 2013
    To set up your phone to receive text messages when you want to have Calendar notifications, Voice mail notifications, Email notifications use the steps as follows
    Note: Text message fees are applicable and it will appear on your phone bill.
    Login to Outlook Web App, click Options > See All Options > Phone > Voice Mail tab.
         In the Notifications section, choose one of the following options:
    Calendar notifications... 
    Voice mail notifications... 
    Email notifications using an Inbox rule...
    Turn On Notification
    First step is to turn on the notification of text messaging. Click Turn on Notifications
    Select Setup Notification: Need to select your operator,
    It will request to provide your Mobile Operator.
    Note: As of now Exchange Server 2013 supports only the below list of operators.
    Locale: United State
    Mobile Operator: AT & T, Sprint PCS, T-Mobile, Verizon Wireless
    Locale: Canada,
    Mobile Operator:Bell Telus Mobility
    Locale: Romania
    Mobile Operator:Orange Romania
    Provide your telephone number. It will send you the passcode on your mobile number.
    Type the passcode for confirmation
    Calendar Notifications:
    On Selecting Calendar Notification: Select the option based upon your requirement.
    Email Notification Using Inbox Rule:
    Similarly for the text messaging for the email notification, select the option based upon your requirement and setup them up
    Exchange Queries

  • I can't open my email app in my iphone 5 I have tray every think written here and nothing happen please help

    I can't open my email app in my iphone 5 I have tray every think written here and nothing happen please help 

    yeah i plugged in my iphone to my computer and itunes does not even notice that i plugged it in.

  • HT1414 i have the 1st iPad. Can it be updated to iOS 6.0.1?  If not how to fix-when on the internet sometimes it will just stop and go to the apps screen.

    i have the 1st iPad. Can it be updated to iOS 6.0.1?  If not how to fix-when on the internet sometimes it will just stop and go to the apps screen.

    svargaswp wrote:
    i have the 1st iPad. Can it be updated to iOS 6.0.1?  ...
    No.
    iOS 5.1.1 is the lastest for the iPad 1.
    svargaswp wrote:
    ... how to fix-when on the internet sometimes it will just stop and go to the apps screen.
    Try This...
    Close All Open Apps...  Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    Note:
    Also consider Deleting any Apps you have Purchased / Downloaded but you now never use..
    If necessary...
    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414

  • I was updated my Iphone 4s from computer(ITunes).ITunes get error and update failed.(When Iphone is preparing.).And now ı can't use my IPhone.At the screen there is a USB cable and up of the screen there is ITunes' logo.PLEASE HELP!

    I was updated my Iphone 4s from computer(ITunes).ITunes get error and update failed.(When Iphone is preparing.).And now ı can't use my IPhone.At the screen there is a USB cable and up of the screen there is ITunes' logo.PLEASE HELP!

    Read what i say. Put iPhone in DFU mode. Connect with USB cable and restore.
    Read:
    http://www.apple.com/support/iphone/assistant/restore/

  • Reset Password email:  subject line and body

    For an email that is sent from this page:
    Home>Manage Workspaces>Manage Developers and Users>Reset Password
    Question: Where/how can I change the subject line and message-body contents for this email

    I would like to customize the subject line and body. for example...
    Current Email:
    Subject: Your password has been changed.
    Body: Account password changed for user CXXXXX.
    I would like to modify to:
    Subject: Your 'Oracle Application Express' password has been changed.
    Body: 'Oracle Application Express' Account password changed for user CXXXXX

  • When I share a link (URL) only Apple computers receive the link. Others such as PCs and Blackberries get the message, but the field which should have the link is blank. Is this normal?  Why can I only send to Apple machines?

    when I "share a link" (URL) using the pulldown menu in Safari, the email goes to all addresses I indicate, but only Apple computers receive the link. Others such as PCs and Blackberries get the message, but the field which should have the link is blank. Is this normal?  Why can I only send to Apple machines?

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • How come the sight was down so long? and why does the system not send emails anymore with responses?

    how come the sight was down so long? and why does the system not send emails anymore with responses?

    The system is back up and fully functional. How long has it been since you stopped receiving notifications? Can you share your form with us so we can have a look into what might be going wrong?
    Andrew

  • HT204187 Email account does not work on the Mac but works on my iPad and iPhone. The account information was added on the Mac. I keeps rejecting my password.

    I have seral email accounts on my Mac. One does not work on the Mac but works on my iPad and iPhone. The account information was added on the Mac. I keeps rejecting my password.

    You don't input the information in manually for iCloud mail. It is automatically set up for you when you sign into iCloud via System Preferences and choose the Mail checkbox. Sign out of iCloud or deselect Mail in iCloud preferences. Open Mail's preferences and choose accounts tab. If iCloud account still exists in the list, delete it. Sign back into iCloud or check the box for mail. The account will be auto created for you.

  • I can't connect to the drive on my airport time machine and am receiving the message: "AirPort Time Capsule" can't be opened because the original item can't be found.

    Time capsule has been working perfectly for months.
    Suddenly I can't connect to the drive on my airport time capsule and am receiving the message: “AirPort Time Capsule” can’t be opened because the original item can’t be found.
    Time machine appears to be still backing up (last backup within the last hour), but drive is not visible and I have files stored on it.
    I have tried rebooting everything in order as suggested for other issues, anyone got any ideas how to see the drive again??

    What OS are you running??
    It is very typical Yosemite issue.
    1. In airport utility does the TC show up.. if so click it.. and see the summary page which will include its IP address. That is what you are after.
    From my screenshot you can see the TC address is 192.168.2.57
    It might well show up briefly after a reboot or in ipad / iphone version utility. Yosemite is hopeless. The airport utility hardly works.
    2. In Finder use Go, Connect to server.
    Type in SMB://192.168.2.57 (replace with IP you discover).
    If it is possible it will request a password.. type that in and DO NOT FORGET.. to store it in your keychain.
    This will work until the TC changes IP which won't happen if it is main router.. but will happen if it is bridged.. so you need to tell me the whole network setup.
    Mavericks is nearly as bad and the above instructions should be universal except I would use AFP instead of SMB. Apparently Yosemite is now totally Windows oriented.

  • HT1365 Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

  • I downloaded an app off the store which said it was free and part of the 5 year promotion. I've been charged for the app by the store. I don't want the app and there's no one to speak to about it. Who can I call and how can I get the app off my phone?

    I downloaded an app off the store which said it was free and part of the 5 year promotion.
    I've been charged for the app by the store. I don't want the app and there's no one to speak to about it.
    Who can I call?
    How can I get the app off my phone?
    How do I get my money back from something I wouldn't have ordered?

    You cannot call anyone.  You contact them as everyone else does:  http://www.apple.com/support/itunes/contact/
    You delete the app as you do any other app.  Hold an icon until they wiggle.  Tap the "x".  This is covered in the manual.

  • I have a video that I created for my daughter's first birthday.  The hard drive on my computer crashed and I lost the video file.  The only place I have it is on my iPod Classic.  How can I transfer the video from my iPod to my new hard drive?

    I have a video that I created for my daughter's first birthday.  The hard drive on my computer crashed and I lost the video file.  The only place I have it is on my iPod Classic.  How can I transfer the video from my iPod to my new hard drive?

    You are in luck, Refer to this recent post by tt2, on recovering media using 3rd Party Software.
    He has made a comprehensive list, browse through them and decide which  suits your requirements.
    Have a nice day!

  • Illustrator has not been responding for over a week, I can't open or force quit it. I've already uninstalled, reinstalled, and deleted the preferences folder, but the icon in my dock seems corrupt and is causing the program to not respond and I can't dele

    Illustrator has not been responding for over a week, I can't open or force quit it. I've already uninstalled, reinstalled, and deleted the preferences folder, but the icon in my dock seems corrupt and is causing the program to not respond and I can't delete it.

    Tamara,
    Did you reinstall using the full three step way (otherwise strange things may linger)?
    Uninstall (ticking the box to delete the preferences), run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

Maybe you are looking for