Attachment and submit the email form

I try to have a form filled and automatically en e-mail and send it to an e-mail address.  The trick is, I need it done anonymously.  I found a script that works in another form which automatically sends it to the intended recipient.  The script, when it is used with the original document, allows you to enter a generic e-mail address and name.  However, when I cut and paste in my new form it does not work.

Here is the script... I made a generic e-mail

//@@SUBMITURL "mailto: . [email protected] ? subject = transmission completed assessment & body = Instructions to add this shape to a file:\n1 responses. Double-click on the attachment. \n2. Acrobat invite you to select an answer file. "& ui = false"

initiate constants

var METADATA_ANNOT_NAME = "adhocFormState";

var PROP_RESPONDENT_NAME = "respondentName";

var PROP_RESPONDENT_EMAIL = "respondentEmail";

var currentDoc;

If (typeof (xfa) ==' objects ' ")

currentDoc = event.target;

on the other

currentDoc = this;

The viewer/reader prior to 9.0, we make the following tasks.

var bAnonymous = false;

var bContinuer = true;

If {(app.viewerVersion < 9.0)

display the name/email if not anonymous

If (! bAnonymous & &! currentDoc.dynamicXFAForm) {}

var result = currentDoc.askUserIdentity (currentDoc);

If (result is nothing)

bContinuer = false;

else {}

annot var = currentDoc.getAnnot (0, METADATA_ANNOT_NAME);

If (annot! = null) {}

var arrProps = new Array();

arrProps = annot.contents.split(";");

currentDoc.setProperty (arrProps, PROP_RESPONDENT_NAME, result.name);

currentDoc.setProperty (arrProps, PROP_RESPONDENT_EMAIL, result.email);

Annot.contents = arrProps.join(";");

}

}

}

display the customer selection dialog box

If (bContinuer) {}

var result = currentDoc.askEmailClient (currentDoc);

If (result is nothing)

bContinuer = false;

else if (! result.send) {}

app.execMenuItem ("SaveAs");

bContinuer = false;

}

}

}

submit the form

If (bContinuer) {}

rawURL var = " " [email protected] ? subject = the form filled, submission & body = Instructions to add this shape to a file:\n1 responses. Double-click on the attachment. \n2. Acrobat invite you to select an answer file. "& ui = false";

var submitURL;

If (app.viewerVersion < 9.0)

submitURL = ' mailto: ' + rawURL;

on the other

submitURL = ' mailto: ' + escape (rawURL);

currentDoc.submitForm({)

cURL: submitURL,.

cSubmitAs: 'PDF '.

});

}

Here is what tells me the debugger when I cut and paste on my form

Acrobat JavaScript Debugger Version 7.0 features

The built-in functions of EScript of Acrobat Version 8.0

Acrobat annotations / Version 8.0 integrated Collaboration features

Acrobat annotations / Assistant Version 8.0 integrated Collaboration features

Multimedia version of Acrobat 8.0

Acrobat 8.0 SOAP

currentDoc.askUserIdentity is not a function

21:field:mouse to the top

TypeError: currentDoc.askUserIdentity is not a function

21:field:mouse to the top

Am I missing something?

Let's take a step back for a moment. First of all, you have a version of the form before you start adding code and before you attempted to disseminate with Acrobat? Do you need to broadcast with Acrobat, or it would be OK to simply add a Submit button that uses an action to "Submit a form" which was set up to send the complete PDF?

You don't need any product LiveCycle to make this work, but do not apply to rights of use of the document if one of your users will use the drive. You do this in Acrobat 9 by selecting "Advanced > extend features in Adobe Reader. This is done automatically when you distribute the form in Acrobat, but you can do it manually if you don't need to go through the distribution process.

Tags: Acrobat

Similar Questions

  • I tried to send an email with attachment and without attachment and received the "windows live Hotmail was not able to complete this application. "Microsoft may contact you about problems that report you.

    I tried to send an email with attachment and without attachment and received the error "windows live Hotmail was not able to complete this application. "Microsoft may contact you about problems that report you.

    Hi AbdiNur,

    This forum is for comments on the Microsoft Answers site.  As your question is on Hotmail, I recommend posting your question on the forums for Hotmail:

    http://www.windowslivehelp.com/forums.aspx?ProductID=1

    Thank you for using Microsoft Answers!

  • I'm filling out a form that is available on a site. When I click on the option to fill out and submit the form 'online' a pdf document is displayed in chrome with the following text "to display all of the content of this document, you need a later version

    I'm filling out a form that is available on a site. When I click on the option to fill out and submit the form 'online' a pdf document is displayed in chrome with the following text

    «To display all of the content of this document, you need a later version the viewer PDF.» You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html for further support, go to www.adobe.com/support/products/acrreader.html"

    Needless to day, I installed the latest version. I even reinstalled using the link in the message, but nothing helped. Whenever I click on the link to go forward, I get the same message. Question: (i) is it my PC/software (Vista), (ii) is the site where I'm trying to submit the form, or (iii) is it the software acrobat reader. Note that I used successfully the last version to fill out and sign forms.

    It is none of them. It's Chrome, which is ignoring Adobe Reader and showing the message.

    Solution: just save the document (with the message) to your desktop. Then open it in Adobe Reader. The 'real' should then display.

  • I want to send my message by mail with the email form that I have already installed

    I want to send my message by mail with the email form that I have already installed

    original title:<>

    Hi Michael,

    I suggest you to check if you get the same message in Internet explore, if you use Firefox I suggest you contact Firefox for using the link below.
     
    Hope this information helps.
  • Submit the email recipient of the choice of the user form and submit in pdf

    I was able to set up a "submit" button so that the user can select the email address, but I can't implement the presentation then the form is sent in pdf format. Can anyone help with this?

    Thank you

    M. dawn

    In all cases, the e-mail message outlook is displayed and the user can adjust any part of the email from there. You can choose one of the methods to send a PDF file instead of an XML file.

    Paul

  • Access to the queue and submit the form on their behalf:

    Hello

    We have a form that go on several approvals to complete the process. One of the process is hit with an approver (Manager).

    Somehow, he cannot access the workspace / or it is busy. He asked us (super admin) to approve tasks in its list of tasks on its behalf.

    How can I do? It will not connect to the workspace or do nothing with LC to grant permissions or something like that.  He asked us to approve.

    It is an urgent matter for me. Help, please.

    Thanks in advance,

    Krishna

    Access to the queues must be granted before the task arriving in the queue, so even if he shared his queue, now, the task cannot be visible.

    At this point, your only option would be to connect to the /AdminUI, like your LiveCycle (Super admin) administrator and locate the task through Admin management process and reassign the task to someone else.

    Hope that helps,

    Robert

  • Submit cancelled dialogue and submit by email

    Hello

    I googled this quite carefully and have found similar issues, but never a solution, that I could not fix the behavior.

    I use LiveCycle Designer ES (8.2) and you have created a simple form. The goal is to use part of the information collected to change the recipient, subject and body of the email, so I use a normal button with control Type = Submit (with "submitted to the Url" textbox) empty. I coded the preSubmit event to analyse the different areas and build the "mailto:" string.

    In the Preview tab, click on the button will launch the e-mail client (Outlook) and correctly define the fields of e-mail (, subject, body). By clicking on send successfully sends the PDF file to the recipient. Outlook closes, then it happens, dialogue 'Cancelled for' formidable that I can't just shake it.

    The last 2 lines in my preSubmit event are:

    var cEmailURL = ' mailto: ' + cToAddr + '? "subject = ' + cSubLine + '& body =' + cbody;
    event.target.submitForm ({cURL: cEmailURL, cSubmitAs: "PDF", cCharset: "utf - 8"});

    where, as stated above, all variables are initialized and have valid values. I have no code in any other event.

    Is there something I need to do to inform the PDF I managed present it myself?

    Thanks in advance for any thoughts...

    Hello

    Submit by email type buttons are fine where the parameters are static and known at design time.

    When the information required for e-mail are dynamic and collected form, I use a normal button and have the script in the click event.

    Here is an example for users with Acrobat/Reader v9.1 (it uses the valdationState event):

    https://Acrobat.com/#d=W72hKORXoOt0CAeKEJUuqQ

    Here is an example that works with older versions of Acrobat/Reader:

    https://Acrobat.com/#d=M3oe * KTVPuco6zeZoMg6Vg

    In both cases have a look at the script in the third button.

    Hope that helps,

    Niall

  • To mySQL, then the email form does not work after the insertion of the post

    I use the Spry framework to validate certain fields on a form and then insert all of the data forms in a database (with no problems). Then, I want to send an email with a few fields from the form submission.  Normally this works very well in the email PHP code that I have, BUT after adding the spry validation or after you add the insert after section of goto, email PHP code no longer receives the form post data.

    Any ideas what could cause the loss of the post of the form variables?

    Thank you!

    -Daniel Hoviss

    Normally the form sends the data to the processing page, I transmit not explicitly all variables form.

    Like this

    In fact, you pass form variables explicitly. It's that submit a form.

    When you submit a form, the variables are passed to the next page, through the GET method or the POST method. That's why you can access it using $_POST or $_GET. Variables exist only from one page to another. As soon as you redirect the user to another page, the values are destroyed. The code in Dreamweaver $insertGoTo uses the header() function to redirect the user to another page. This is why your variables are no longer available.

    The simple way around this is to add the email script immediately before the code that redirects the user. You can either put the E-mail script directly in the same page, or use a PHP include.

  • Submit the email does not

    I have created a form with Acrobat Pro 11 that includes a button to send set to mailto: [email protected] .  I downloaded the pdf file on my site, so users can click on the link, fill it out and send it to me.  When I click the button submit, nothing happens.  It also displays not the fields to enter when opened in Firefox...

    This has not created within central forms and it was a PDF file that I already had, I just converted to a form and then added the button submit manually.


    Make sure that you are using the Adobe plugin and not the built-in function

    Firefox plugin, which is not very good...

  • Want to write the results to submit the login form to log on the server

    I cooked up a little family site to share memories and old photos. This is a members only site and I use a PHP login script that compares the user name and password to a list.

    I would like to know
    (a) if someone tries to guess their way in.
    (b) If a member is having connection problems... We have a few not so computer savvy family members which eventually get frustrated and give up.
    (c) whose members are logging... It is a new effort, to run one year on a trial basis... and it is worth.

    To do this, I add code to take the results of any shipment (on my login form) and to add the results of this to some sort of log file that I can periodically review. Because the foundations are in place this (I think) not an otherwise difficult task. But I have no idea on how to do this and hope someone can show me.

    Thank you for your time and help

    Ralph

    If it helps, it's the PHP code that I guess deals with the connection.

    / Repairable none by the user under this item. */

    $php_self = $_SERVER ['PHP_SELF'];

    / * Clean up variables: we only do $user and $password of the form. */
    $submit = $_POST ['submit'];
    $user = ";
    $password = ";
    If ($_GET ['user']) {}
    $user = $_GET ['user'];
    $password = $_GET ["password"];
    }
    If ($_POST ['user']) {}
    $user = $_POST ['user'];
    $password = $_POST ["password"];
    }

    session_start();

    / * Check the couple login/password until you find the one that is correct, or re-display the login form. */
    $loginsuccessful = FALSE;

    {foreach ($authorization as $loginpair)}
    {If (($user == $loginpair[0]) & & ($password == {$loginpair [1]}))}
    $_SESSION ['user'] = $user;
    $_SESSION ["password"] = $password;
    $loginsuccessful = TRUE;
    }
    {If (($_SESSION ['user'] == $loginpair[0]) & & ($_SESSION ['password'] == {$loginpair [1]}))}
    $loginsuccessful = TRUE;
    }
    }

    If ($loginsuccessful = TRUE) {}
    / * The user is connected, go on our merry way. */
    echo $loginmsg;
    } else {}
    / * User does not match our valid connection, their decline to the form. */
    $loginmsg = "invalid username or password";
    require ($indexphp);
    "exit";
    }

    No, it's not particularly difficult. Of course, you use a login script you obtained, because the code is very different from the one generated by Dreamweaver. Judging from the code, you do not use a database to store the usernames and passwords. Thus, you probably want to save the details of an external text file.

    Add the following code where indicated:

    if ($_POST['user']) {
        $user = $_POST['user'];
        $password = $_POST['password'];
    }
    
    // New code goes here
    
    $logfile = 'log.txt';
    $date = date('j M Y H:i:s');
    $address = 'Unknown';
    if (isset($_SERVER['REMOTE_ADDR'])) {
         $address = $_SERVER['REMOTE_ADDR'];
    }
    if ($file = fopen($logfile, 'a')) {
      fwrite($file, "\r\n$date $address $user $password");
      fclose($file);
    }
    
    // end of new code
    
    session_start();
    

    This will create a text file named log.txt in the same folder as the logon script. Since it is a text file, it should ideally be outside the root of the web server, then you must change the value of $logfile to point to a file outside of the root of the server, but in a folder where the script is allowed to write.

    Whenever someone tries to connect, it will record the date and time, IP address, if known, and the user name and password submitted.

    Once you got this job, I suggest you change the following line:

    if ($file = fopen($logfile, 'a')) {
    

    Change to this:

    if ($file = @fopen($logfile, 'a')) {
    

    This will remove any error message if the script is unable to open the log file. However, you should not do that change until you have things market, because deleting an error will prevent you to discover what the problem is if this does not work.

  • Submit the completed form in pdf format, excluding the previous pdf pages.

    I created a pdf workbook that includes 5 pages and a form created in Acrobat (not Livecycle).  I've created a submit button that sends the completed form (page 5) in pdf format to me. The problem which I am facing is that the entire PDF document is sent back. How can I isolate the form on the previous pages in pdf. I use Acrobat Pro vrs 9 on a windows XP computer.  Or I go about it wrong from the start.

    Change the presentation to be only the data and not the form. Select the FDF, XFDF or XML. For your request, I'd use FDF. If this form is for others to e-mail to you, then know that the argument of the mail is subject to problems that you can't prevent (all associated with the configuration of the client computer). Submission to a web script is ALWAYS preferable. In addition, you can save the also backward compatible to be sure people with earlier versions of Acrobat or Reader have no problems with it. Backward compatibility can be obtained with the Document > reduce the size of the file or with the PDF Optimization. If you used a few new features, they will be lost (but of course, those are the features that would have caused any problems).

    Once you have the FDF file, you can simply import it into the form (in some cases, just by clicking on the FDF will open in the form if you don't move the shape on your system.) You can then export the data to other formats (see the manual for more information, or just play with it).

  • How can I get thunder bird to move the emails form the server instead of copy them?

    Whenever I get my email remains a copy on the server.
    until I have to log on to the server and delete them.
    How can I get the emails to be moved from the server instead of being copied?

    Because you don't want to leave a copy on the server that would be the first to uncheck.

  • I can't drag and drop the email in a file

    I can't put my email in a file. A working by clicking on MSG and dragging the file to the ITTO, but works now does not

    In Thunderbird, and the problem has straightened it self. Thank you!

  • Drag and drop the email from windows to the folder my documents

    I am trying to drag and drop an email from Windows mail to a folder in my documents each time I do I have an option to copy and replace or do not copy. I just want to copy it here is another option or I can change to get it to copy the settings. I'm sure that once there was before me a third option so that it can be copied, can someone help me please.

    Drop into a different folder itthere and renmae before moving on to the final
    folder.
     
    --
    ..
    --
    "SS0001" wrote in message news: f9a3b155-6263-4000-89c 0-596bcea9a814...
    > I get emails from the same source, on a weekly basis and the program
    > think I want to update the existing emails with new emails, but I just
    > to add new emails to the existing e-mail file, make
    > you know how I can fix this?
     
     
  • Problems to access emails due to the area of security of Windows and all the emails have disappeared from the Inbox

    I have a HP with Windows Vista computer.  For the last few days whenever I try to access my email using Windows Mail, a Windows security box appears you request for my user name and password that are not accepted when I type in and to "allow" with a lock symbol appears low to the right of the screen, where "incoming mail" would normally appear. I get the occasional batch of e-mails through but only once per day.  Two days ago, all of my original emails (about 1,000) have disappeared from my Inbox.  I rang my phone co co/email, microsoft and the manufacturers of my coomputer, but everyone tells me problem of is the other company.  Meanwhile, I am really concerned about all the emails that I lost.  Can anyone suggest how to get rid of this security box and restore all my lost emails?  Help!

    Hello

    1. Since when are you facing this problem?

    2 did you changes to Windows Mail settings?

    I suggest you follow these methods and check.

    Method 1:  Windows message store can be damaged or corrupted.  You can try to rebuild the message store.

    Rebuild the Windows Mail message store
    http://support.Microsoft.com/kb/941090

    Note: Follow the method 1 first, which is mentioned in the link above.  If rebuilding the message store does not help, follow method 2 to rebuild the Windows Mail folder.

    Method 2: Solve problems with Windows Mail

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-Windows-Mail

     

     

    I also suggest you to update the virus for your anti-virus definitions. In addition, make sure you have all the windows security updates installed on your computer.

    I hope this helps.

    Thank you.

Maybe you are looking for