How do I insert the value of an email field in the submit mailto: argument?

I want to create a button that will redirect a PDF form to an email address entered as a field in the form.  In other words, a "return to sender" function.  The button function has a submit to URL where you can use "mailto:[email protected]".  How can I substitute the value from an email field in the form itself for the "[email protected]" value?

You'll need to use JavaScript, and the mailDoc method in particular: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.505.html
Get the value of the field that contains the email address and use it as the value of the cTo property. See the following for a sample script: http://forums.adobe.com/message/3553628?tstart=-1

Similar Messages

  • How can i insert the variable value in MS ACCES Query

    i am creating one Query (query1) in MS ACCESS ( like we creaate Tables, Forms and Reports in MS ACCESS ) in this Query i have given 2 constent value in BETWEEN CLAUSE , after that i Created a CROSS QUERY which is based on the privious Query (query1).
    Now i want to insert the variable value using JSP and HTML in to Query(query1).
    Doing this i want to execute the Query (query1) with variable perameters and
    wants to get the risponce form CROSS QUERY.
    In this matter how can i insert the value in Query(query1) using JDBC and JSP.

    The query is
    Select ZMSGMAP.GROUP_CODE as 'group', ZMSDSTATE.STATE_DESC as 'state', ZMSTRN.YRMON, sum(ZMSTRN.CMAQTY) as 'qty' from ZMSDSTATE,ZMSGMAP,ZMSTRN Where ZMSTRN.STATE=ZMSDSTATE.STATE and ZMSTRN.PLANT=ZMSGMAP.PLANT_CODE and ZMSTRN.YRMON between "+p1+" and "+p2+" Group by ZMDGMAP.GROUP_CODE, ZMSDSTATE.STSTE_DESC, ZMSTRN.YRMONUsing this query i m trying to display the risult but the YRMON is displaying in a single column, i want to display it ia seperat columns. here p1 and p2 is YRMON(it is the yer month like 200102), for this solution i have created Cross table Query which is based on uper Query (query1) and design it column wise Display, it is givng the right display, but the problem is this i m not getting the technique throw which i can insert the variable values in to the query1 (which is designed in MS ACCESS).
    u can contact me on [email protected] for more details.

  • How can I insert the symbol for copywrite?

    How can I insert the small "c" with a circle around it fro copywrite?

    Go to System Preferences>Language and Text>Input Sources>Keyboard and Character Viewer>Letterlike symbols.

  • HT1518 I have a Universal Keyboard how to I insert the copywrite symbol into my photographs

    Have tried but to no avail, how can I insert the Copywrite symbol into my photographs to protect them before posting online please.

    Alberto Ravasio wrote:
    You meant option+C
    Nope. On an English keyboard you get © with option-g. Option-c gets you ç.

  • How can I insert the copyright symbol

    How can I insert the copyright symbol, I have tried the ALT + 0169 with no success.
    I want to include in a watermark brush

    Did you use the the alpha-numeric keys, the ones on the right of the keyboard?
    You can also get it (WINDOWS) via the character map:
    Type character map into the search box. You will find the symbol there. Select it, then copy, then paste into your document.

  • How could I insert the deleted row into another table within a trigger?

    Hi,
    How could I insert the deleted row into another table within a trigger? The destination table has the same columns as the source table. Since the statements are in the trigger, it is not allowed to query the source table named 'test'. Thanks! The trigger is as follows, uncompleted:
    CREATE TRIGGER delete_trigger
    AFTER DELETE
    ON test
    FOR EACH ROW
    BEGIN
    -- How could I insert the deleted row into another table
    END delete_trigger;
    Message was edited by:
    user569548

    Hi,
    I'm not sure what's wrong there.
    I read the oracle docs about ANALYZE and ALL_TAB_COLUMNS, and did the following:
    ANALYZE TABLE my_tab VALIDATE STRUCTURE; //went ok.
    SELECT column_name
    FROM all_tab_columns
    WHERE table_name = 'my_tab'; //but no rows selected?
    This topic might not be what this thread should be about. Here I posted a new thread:
    How to get colum names of the newly created table?
    Thanks.
    Message was edited by:
    user569548

  • How do I insert the credit card option?

    how do I insert the credit card option?

    View the PayPal tutorial at: http://forums.adobe.com/docs/DOC-1632

  • I already have a quicktime pro key, had to reload quicktime how do i insert the key i have without having to buy the program again

    I already have a quicktime pro key, had to reload quicktime how do i insert the key i have without having to buy the program again

    QuickTime Player -> Edit menu -> Preferences -> Register
    Enter in the user name and key as sent to you by Apple.
    For any future questions about QuickTime, those will usually get the quickest response if posted in the QuickTime forum.
    Regards.

  • How do i select the "submit" after i enter my wireless passwork on the tv screen for apple tv setup?

    how do i select the "submit" from the remote after i enter my wireless password on the tv screen for apple tv set up?

    The 5 digit code is every time different. That does not matter. Just integrate every device into your network.
    You can connect many computers to Apple TV but syncronisation works exactly with one computer. That's why I use "streaming". But you can sync one computer, then another, and so on. The content on your Apple TV is the content from your computer that has synced last. But you can not mix it.
    The new Apple TV has no syncronisation. Everything is streamed,
    Regards,
    Torsten,
    Germany

  • How do I set the Submit button to send the information directly to a specific email address?

    How do I set the Submit button to send the information directly to a specific outside email address? It isn't clear to me where or how it says that you can do this.

    Is this for a web form or a PDF? If PDF, you would have to use Acrobat to edit the form and replace the submit button action with either a "Submit a form" action using a mailto type URL, or use the doc.submitForm statement to do the same.

  • Report Generation Toolkit: How to programmatically insert same values across a MS Words template

    Hi,
      I currently have written an application that reads information from an Excel/CSV file and key into the Words document.
    I did this by introducing a specific bookmark inside the Word document and use the Append Report Text.vi to insert the bookmark.
    Now, there are some values where it requires the same bookmark to appear in multiple places. Ie. The same value should be replicated
    in many places. I tried to insert cross-references in the template, but whenever the Append Report Text is performed, it overwrites the bookmark.
    Hence the cross reference cannot find the bookmarks again.
    Another issue is the font size of the replacement. It seems that it keeps on replacing it at Font 10.
    Whenever the above VI is called. Is there a way to retain the same bookmark font as per what was saved as the template?
    Thanks & Best Regards,
    Kah Wai

    I think I manage to resolve this using the VI created by Henrik Volkers
    http://forums.ni.com/t5/LabVIEW/How-to-edit-text-in-MS-Word-HEADER-using-bookmarks/m-p/1477060#
    Sorry for the post

  • How can I insert the mysterious iPod Atom to make a movie iPod friendly?

    Hello. I've been looking for an answer to this problem all over the Internet and haven't found anything! An Quicktime GURU out there?
    THE PROBLEM:
    I have several mp4 video files that iTunes won't sync to my iPod. They play well on QT, FrontRow and iTunes but then iTunes says "This video cannot be played on this iPod".
    Yes! you know that message too...
    We all have gotten that message before, even when we know the video will play perfectly on the iPod because it was encoded on H.264, AAC, etc, etc...
    Doing a little research I came to the fact that the problem is that these videos are missing an "iPod Atom Tag" which tells iTunes that the video can actually be played on the iPod. Seems quite simple but wait, there is a catch...
    Nobody knows how to insert this iPod Atom in the mp4 file!!!
    I found a nice UNIX app called AtomicParsley which let's you edit these tags but then I'm missing the important information... The iPod Tag code and the value which is supposed to be set to...
    THE QUESTIONS:
    Does anyone here has any idea on how to push the iPod Atom inside the mp4 file? Will AtomicParsley do the job?
    Which is the code of the iPod Atom? Is it uuid?
    Which value should I assign to it?
    Is there anything else I have to do to the files to make them iPod friendly?
    Most people would say that the easiest way is to use Quicktime Pro to re-encode the files but then the files grow in size, they loose some quality and features and not to mention that it takes forever to re-encode them again...
    I believe that this app, AtomicParsley can do the job if I know which tags to modify and the values I should set them to but that's the information I'm missing...
    I would really appreciate if someone can point me into the right direction and give me a little help with this matter. Thank you very much!
    Alejandro Cordero
    Costa Rica.

    I appreciate your comment but I guess you didn't exactly understand my problem...
    Handbrake is a program that extracts the video from DVDs and encode it into a movie file, usually mp4 files like the ones I need to fix. It won't work with movie files that you already have on your computer.
    Here is the deal again:
    1 - I have mp4 files in my HD. I am not encoding from my DVDs.
    2 - AtomicParsley is a program that can insert atoms in an mp4 file and it only takes a few seconds to do it and the movie itself remains untouched. I believe this tool will work fine but...
    3 - I just need to know what to tell to AtomicParsley. That is the iPod Atom code which I think is "uuid" and the value it must have which I really have no idea... :P
    Using this tool will insert the atom in a few seconds so I don't have to re-encode everything from scratch. Each encoding takes a few hours for a whole movie. Why spend many many hours re-encoding when you can solve the problem in a few minutes...
    Again, thank you for your comment. I'll keep waiting for an answer and keep the re-encoding option as a last resource.
    Alec.

  • How do I insert multiple values into different fields in a stored procedure

    I am writing a Stored Procedure where I select data from various queries, insert the results into a variable and then I insert the variables into final target table. This works fine when the queries return only one row. However I have some queries that return multiple rows and I am trying to insert them into different fields in the target table. My query is like
    SELECT DESCRIPTION, SUM(AMOUNT)
    INTO v_description, v_amount
    FROM SOURCE_TABLE
    GROUP BY DESCRIPTION;
    This returns values like
    Value A , 100
    Value B, 200
    Value C, 300
    The Target Table has fields for each of the above types e.g.
    VALUE_A, VALUE_B, VALUE_C
    I am inserting the data from a query like
    INSERT INTO TARGET_TABLE (VALUE_A, VALUE_B, VALUE_C)
    VALUES (...)
    How do I split out the values returned by the first query to insert into the Insert Statement? Or do I need to split the data in the statement that inserts into the variables?
    Thanks
    GB

    "Some of the amounts returned are negative so the MAX in the select statement returns 0 instead of the negative value. If I use MIN instead of MAX it returns the correct negative value. However I might not know when the amount is going to be positive or negative. Do you have any suggestions on how I can resolve this?"
    Perhaps something like this could be done in combination with the pivot queries above, although it seems cumbersome.
    SQL> with data as (
      2        select  0 a, 0 b,  0 c from dual   -- So column a has values {0, 1, 4},
      3  union select  1 a, 2 b, -3 c from dual   --    column b has values {0, 2, 5},
      4  union select  4 a, 5 b, -6 c from dual ) --    column c has values {0, -3, -6}.
      5  --
      6  select  ( case when max.a > 0 then max.a else min.a end) abs_max_a
      7  ,       ( case when max.b > 0 then max.b else min.b end) abs_max_b
      8  ,       ( case when max.c > 0 then max.c else min.c end) abs_max_c
      9  from    ( select  ( select max(a) from data ) a
    10            ,       ( select max(b) from data ) b
    11            ,       ( select max(c) from data ) c
    12            from      dual ) max
    13  ,       ( select  ( select min(a) from data ) a
    14            ,       ( select min(b) from data ) b
    15            ,       ( select min(c) from data ) c
    16            from      dual ) min
    17  /
    ABS_MAX_A  ABS_MAX_B  ABS_MAX_C
             4          5         -6
    SQL>

  • How do I insert textarea values one at a time into database?

    I have a a simple form:
    Select List - populated by a recordset that gets a list of technicians.   In this format:   Label - >  Tech name   Value - > Tech ID
    Textarea - To paste zip codes into that the tech services.    In this format:   12345,12346,12347,etc..
    When I want to submit the form, I want it to take all of those zip codes and insert them into the database as a single record each with the tech's id from the select list. 
    The code I have is thus:
    $zipcodes = explode(",", $_POST['textarea']);
    $countZips = (count($zipcodes));
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
    foreach($zipcodes as $key=>$value)
    while ($countZips >= 1) {
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
      $insertSQL = sprintf("INSERT INTO zip_zip (zip_code, tech_id) VALUES (%s, %s)",
                           GetSQLValueString($value, "int"),
                           GetSQLValueString($_POST['select'], "int"));
      mysql_select_db($database_localhost, $localhost);
      $Result1 = mysql_query($insertSQL, $localhost) or die(mysql_error());
              $countZips--;
    //Done value exists
    //Now moving to next page when done
              $insertGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    //END
    The issue is - let's say I paste 105 zip codes into the text area.   It will insert the FIRST zip code 105 times into the database instead of inserting the 105 zip codes individually.
    Any idea what I'm doing wrong here?
    Thanks!

    Ok, so all of that mysql stuff just needs to be ran once until the connection is closed.  I didn't know that.  That probably makes it run better too.
    Ok, so here is what that code looks like now.  There are a few additions because it turns out I also have to check to make sure the zip code is in a state that the tech is licensed in.  : (  I have a question about how to do that because it is different.  Do I need to post a new question or is better to ask here since my stuff is usually in left field?
    Any way here is my code now.  I think it is much better, right?
    //Start
    //This is my recordset to get the last tech added
    mysql_select_db($database_localhost, $localhost);
    $query_getTechs = "SELECT * FROM zip_tech ORDER BY tech_id DESC";
    $getTechs = mysql_query($query_getTechs, $localhost) or die(mysql_error());
    $row_getTechs = mysql_fetch_assoc($getTechs);
    $totalRows_getTechs = mysql_num_rows($getTechs);
    //This is where I'm getting all zip codes that are serviceable by stupid regulations
    mysql_select_db($database_localhost, $localhost);
    $query_Recordset1 = "SELECT zip_code, state_prefix FROM zip_code";
    $Recordset1 = mysql_query($query_Recordset1, $localhost) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    //ARRAYS
    $results = array();
    $states = array();
    do {
      $results[] = $row_Recordset1['zip_code'];
      $states[] = $row_Recordset1['state_prefix'];
    } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
    //Check if form is filled out
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
    //If so, explode textarea values into an array or something
    $zipcodes = explode(",", $_POST['textarea']);
    //MySQL Stuff
    mysql_select_db($database_localhost, $localhost);
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
    $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    //my loop to go through each zip code one by one
    foreach($zipcodes as $value)
    //Let's see if the value from the textarea is in our $results array from above
    if (in_array($value, $results)){
    //If it is in the array - then insert it into the database with the tech id
      $insertSQL = sprintf("INSERT INTO zip_zip (zip_code, tech_id) VALUES (%s, %s)",
                           GetSQLValueString($value, "int"),
                           GetSQLValueString($_POST['tech_id'], "int"));
      $Result1 = mysql_query($insertSQL, $localhost) or die(mysql_error());
    //Done value exists
    //Now moving to next page when done
              $insertGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    //END
    Message was edited by: Drymetal

  • How do I insert the current date to hidden field?

    I have a form for updating personal information.  There is a field in the table called "dateupdated" that I would like to have on the form as a hiddent field that will automatically get the latest date (now).
    Any idea's how I can set the hiddden field to current date?
    Thanks,  Dennis

    You don't need a hidden field to do that. Depending on the database you're using, you can either use a TIMESTAMP column (in MySQL) that is automatically updated, or you can use a SQL function to insert the current date.
    For example, in PHP, you can use NOW() like this in a SQL query:
    $insertSQL = sprintf("INSERT INTO date_test (created, message) VALUES (NOW(), %s)",
                           GetSQLValueString($_POST['message'], "text"));

Maybe you are looking for

  • Implementing EAP-TLS in the enterprise

    Hi all, I'm currently performing a review of our global corporate wireless network with a view to implementing user and device authentication. We currently use PEAP-Ms Chapv2 and i'm considering the move to EAP-TLS, however I understand this has its

  • Handling Currency Symbol 'u00A3' in XI

    Hi,      The file that we are using in Inbound to SAP scenario is likely to have '£'        symbol. When the file goes through Content Conversion XI takes it as '‚£'      which is two characters long.      This is causing the mapping of other fields

  • How to convert an html file to an image

    Any Sample Codes.........................

  • Possible to Lock Dock icons?

    I use a Wacom tablet and some times it is possible to 'swish' the cursor by the dock items and accidentally drag one onto the desktop where it goes 'Poof.' Since I have lots of applications I'm not always sure which one went 'poof' - it happens too f

  • Can I access a sdxc card just like an external hd?

    I just got a new macbook pro (woot!!) and it has a sdxc card slot.  I was wondering if I can access it just like an external hard drive?  I do a lot of music production work and have a lot of sample libraries, it would be great if I could just use a