Email PDF form on Web server

I have created a PDF form which resides on a Web server. Users follow a Webpage link and fill out the form on their desktop, where there is no email client installed. I noticed in the Script Editor that I can choose "Run at Server." Does this mean that when the user clicks Submit, this code will run on the server and email the form from there?
this.resolveNode("#event").submit.target = "mailto:" + strToAddress + "?subject= " + "LOA request for " + strSuffix + " DSM " + strMgrFirstName + " " + strMgrLastName + " Store# " + strStoreNum + " Region# " + strRegionNum;
Is that what "Run at Server" means? I looked in the LC Help and found no references to "Run at Server."

If "Run at Server" isn't the simple solution to my problem (there is no client email application), then could I copy the javascript code on the Submit button and paste it into a.js file on the server and then in the Object properties of the button point to that .js file?
form1.page3.emailSubform.emailToBtn::preSubmit:form - (JavaScript, server)
app.execMenuItem("SaveAs");
//either way below works
//event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF",cCharset:"utf-8"});
if (txtCCAddress.rawValue == null) {
var strToAddress, strSubject, strMessage, strSuffix, strMgrFirstName, strMgrLastName, strStoreNum, strRegionNum
strToAddress = txtToAddress.rawValue;
strSuffix = form1.Page1.DropDownList1.rawValue;
strMgrFirstName = form1.page3.MgrFirstName.rawValue;
strMgrLastName = form1.page3.MgrLastName.rawValue;
strStoreNum = form1.Page1.storeNumber.rawValue;
strRegionNum = form1.page3.distRegion.rawValue;
//something like this would go in the URL in Object properties for the button
//formmail.php?emailTo=strToAddress&type=strSuffix&mgrFirst=strMgrFirstName&mgrLast=strMgr LastName&storeNum=strStoreNum&region=strRegionNum
this.resolveNode("#event").submit.target = "mailto:" + strToAddress + "?subject= " + "LOA request for " + strSuffix + " DSM " + strMgrFirstName + " " + strMgrLastName + " Store# " + strStoreNum + " Region# " + strRegionNum;
    else
    var strToAddress, strCCAddress, strSubject, strMessage, strSuffix, strMgrFirstName, strMgrLastName, strStoreNum, strRegionNum
strToAddress = txtToAddress.rawValue;
strCCAddress = txtCCAddress.rawValue;
strSuffix = form1.Page1.DropDownList1.rawValue;
strMgrFirstName = form1.page3.MgrFirstName.rawValue;
strMgrLastName = form1.page3.MgrLastName.rawValue;
strStoreNum = form1.Page1.storeNumber.rawValue;
strRegionNum = form1.page3.distRegion.rawValue;
    this.resolveNode("#event").submit.target = "mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + "LOA request for "  + strSuffix + " DSM " + strMgrFirstName + " " + strMgrLastName + " Store# " + strStoreNum + " Region# " + strRegionNum;

Similar Messages

  • Problems with Adobe PDF forms in Web Dynpro Java

    As of now , I have two major issues in developing Adobe PDF forms in Web Dynpro Java .
    1.Text getting wrapped and repeated from the first line :
    Any text field that flows to the next page gets wrapped at the end of the page and is again printed on the next page beginning from the first line .
    For eg:
    If I have 4 lines in a text field that is at the end of the page
    1111111111111111111111
    2222222222222222222222
    3333333333333333333333
    4444444444444444444444
    and the page holds space for only two lines it prints the lines
    1111111111111111111111
    2222222222222222222222
    in the first page and then proceeds to the next page and prints
    1111111111111111111111
    2222222222222222222222
    rather than printing
    3333333333333333333333
    4444444444444444444444
    2.No way to hide a page at runtime:
    It is not possible to hide a page in a PDF form at runtime . If scripting is used , the page turns into a blank page but not hidden .
    Any pointers on this????????
    Helpful answers will be suitably rewarded with points!!!!

    Yes,I am using the versions that you mentioned.
    I have a node called <b>MasterData</b> which is the root node for my PDF Form.I have a node called <b>GenData</b> inside this node whose <b>ctx_Appraisal_Type_Num</b> attribute is bound to a hidden TextField in my form.In the <b>docReady</b> event of this TextField, I am writing the following FormCalc script to hide my SubForm whose Id is <b>MngrCmptnc</b>
    if(MasterData.GenData.ctx_Appraisal_Type_Num == "2")
    then
    MasterData.MngrCmptnc.presence = "visible"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "visible"
    MasterData.StrImp.presence = "visible"
    else
    MasterData.MngrCmptnc.presence = "hidden"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "hidden"
    MasterData.StrImp.presence = "hidden"
    endif

  • Pdf forms and web applications

    Hi all,
    Can anyone help me regarding the feasibility of using PDF forms in web application such as simple html forms?
    As a part of the web application written in php, we have large html forms for collecting data.
    pdf reports must be generated based on data entered in forms.
    So, 1 filled in form = 1 pdf report. Generating large pdf files from scratch with php script is not fun, and I'd like to figure out if there is some way to use pdf forms created in Adobe LifeCycle as html forms.
    So, we would like to publish pdf forms created in LifeCycle as a part of web application, where users fill in this form and in some way we pass form data to php script (upon form submit) for saving it in database and load data back to pdf form once user decides to edit it.
    Once form is filled in completely we'd like to print it (and maybe save as separate pdf file containing all filled data).
    Please advice, is there any solution for doing something like this, or maybe some other suggestions about simple pdf generation & forms handling in case described above?
    Your input would be greatly appreciated.

    Yours is not a feature request. It is a question about the functionality of the Livecycle Designer product. Please repost in that forum.

  • Retrieving PDF form from Application server

    hi all,
    i am saving a pdf form in application server and when the user wants the same file then i want to retrive that file from application and show the user and it should not be saved to presentation server only he should see it.
    iam able to save it to presentation layer using gui_download but my requirement is not to save it show only display the form.
    Thanks in advance,
    Sree
    helpful answers will be surely rewarded points

    Hi,
    1st solution - use DOI (desktop office integration). This way you can open Adobe, Microsoft, and others application documents directly in the SAP windows. See SAP document how to do it. It's not a little work, but it should fulfill your requirements.
    2nd solution - share the folder with the PDF documents and then with shell command (start
    server\folder\xxxxxx.pdf) at the front end access it and start the associated application at the frontend. I don't recommend this one, sharing folders at the appl.server is a security threat...
    You know about the points and useful answers...

  • Completing PDF forms via web, but saving result on server

    Hi
    I've been asked to design a system, where individuals are sent a request to complete a templated PDF form with a number of available fields. They complete the form and submit.
    At this point I need to save the completed form on the application server behind the web server as PDF. This PDF is then shown to various individuals for authorising.
    For security, it's important that the PDF is not saved to the desktop.
    I'm fairly new to pdf toolset, so
    1. What is the best tool for authoring PDF templates where the ability print/save etc can be suppressed?
    2. Can the PDF template be sent back to the webserver to be saved?
    3. Do I need any other tool, plugins to achieve this?
    Thanks
    Graham

    I will be out of the office starting  03/01/2011 and will not return until
    03/06/2011.
    Please contact Todd Richardson at [email protected] or Adam Terlinden at
    [email protected] if you need immediate assistance.  Thanks
    Thanks

  • How to connect a PDF form to SQL server database through web service?

    Hi,
    I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
    I really appreciate your help and advice.

    Hi,
    I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
    I really appreciate your help and advice.

  • Filling in PDF forms from web forms

    I have acrobot pro, and can build PDF files. What I don't know how to do is build a web form that'll fill in PDFs, and then make a copy to the server, or email the pdf to the person who filled in the form.
    What forum is the correct place to ask this question? I don't want to be irritating people by asking in the wrong place.

    This forum is fine, you just may want to provide more details. Acrobat's help has more information on creating forms, as do a number of tutorials at AcrobatUsers.com.
    Submitting the entire PDF either to a web server or sending it by email is easy, but if it has to work with Reader, the form has to be Reader-enabled. You can do this in Acrobat, but there is a 500 form limit on the number of returned forms Iincluding hardcopies) that you can use data from if you distribute the document to more than 500 users. When you post a Reader-enabled document on a publicly accessible web site, you are effectively distributing it to an unlimited number or people.
    An alternative is to set up the form to submit just the form data to a web server or send it via email. There are no licensing restrictions for this. The form data can then be later imported back into a blank form, stored in a database, or the data file archived.
    Much of what you asked about does not involve Acrobat directly, but rather programming of the server to respond to a form submission.

  • Secure Form Data on Emailed PDF Form

    I am preparing an email-able PDF registration & payment form for a conference.  The registrants are generally low-tech so using a form with a "submit form" or email form button will totally throw them off if they have older versions of Reader.
    I'd like to be able to use a form they can receive by email or download from our website, fill it out - including credit card info - and email it back - but obviously securely.
    Is and how is this possible?
    Thank you!

    The security requirement is the problem when using email, which is generally not secure.
    I would not send such a form unless I knew it was being securely  submitted to a web server or securely uploaded to a web server (e.g.,  yousendit.com).

  • Send PDF form to FTP server folder

    I am not sure if this is possible, but one of my clients wants it, so I'm checking. They have a PDF form set up that currently sends the attachment via the user's email program. My client doesn't like that. So they want it to when a user fills out the PDF and submits it, the filled out PDF is sent to an FTP folder they can access. Is it possible to send a PDF to a specified FTP folder? If so, what all would be needed?
    Thanks

    Not possible. You can submit to a web server, which can then save the file somewhere, but this would involve some programming.

  • How to make a PDF form call Web service and return a static pdf for user to print?

    Hi all,
    Can anyone help me regarding the feasibility of using PDF forms for my following case?
    I would like to create a Dynamic pdf form. User only have the Acrobat reader. they can enter some information. Then have a submit button. when user click the submit button, it can call the web service with data. then Web service returns a Static PDF document based on data and the user can print it out. (and maybe save as separate pdf file)
    1. Is that possible to implement? Because I know PDF can call web service, but dont know how it handle when the webservice returns another static PDF document. could it able to handle the responds and open up in another acrobat reader?
    2. As I understand I need to have Live Cycle Designer to create a pdf  and make it Reader Enabled. So user can user reader to call webservice? am I correct?
    3. What minimum reader that user need to have? PDF reader 7 or above?
    4. I have a webservice serve the same purpose for web. But if I want the same web services can serve both web and PDF form. So, whatever client (PDF or Web)make the web service call, server returns the PDF document to client. Is that possible ? Do I need to make any changes on web service?
    5. Do I need to get any other Adobe server product? (other than Live Cycle Designer )
    Thanks a lot

    We have done a similar approach in the past and yes, it can be doable.
    1. Is that possible to implement? Because I know PDF can call web service, but dont know how it handle when the webservice returns another static PDF document. could it able to handle the responds and open up in another acrobat reader?
    Srini: We have developed a Servlet to talk to Webservice. Based on the Webservice response, the Servlet, prepares the Byte stream and sends it to Webbrowser to display as a PDF. The PDF data was submitted to Servlet in XML format.
    But if you do not want to use the above approach, then you have to use the Workbench Process.
    Submit the PDF data to a Workbench process and the inside process, execute Webservice Service with the data. Once the response is received, prepare the data XML and render a PDF with it.
    To do this, you need LiveCycle Server and Reader Extensions server component.
    2. As I understand I need to have Live Cycle Designer to create a pdf  and make it Reader Enabled. So user can user reader to call webservice? am I correct?
    Srini: If you want to use the Servlet, you can Reader extend the PDF with Acrobat.. But if you want to submit the data directly to Webservice, then you need Reader Extensions server component.
    3. What minimum reader that user need to have? PDF reader 7 or above?
    Srini: Not sure but Reader 8 and above should work.
    4. I have a webservice serve the same purpose for web. But if I want the same web services can serve both web and PDF form. So, whatever client (PDF or Web)make the web service call, server returns the PDF document to client. Is that possible ? Do I need to make any changes on web service?
    Srini: If you use the Servlet approach, then you can re-use the same webservice. But if you want to submit directly to the same webservice, you may need to change it to suit your data XML.
    5. Do I need to get any other Adobe server product? (other than Live Cycle Designer )
    Srini: If you use the Servlet approach, you do not need any server component but other approach, you need Livecycle Server and Reader Extensions server component.
    Thanks
    Srini

  • LiveCycle PDF form and SQL Server connection

    I'd really like to move from a server-scripted event registration form to a LiveCycle online PDF form, submitted by email and redirecting the user to a Webpage.
    The only obstacle I can see is a dropdown list of users, where a user selects his/her name and then proceeds to choose an event, date, and time. On my
    Webpage form now (scripted in ColdFusion), I use a CFSELECT, which works perfectly. But in looking at LiveCycle, I see that it supports an OLEDB but probably
    not a connection to SQL Server or Oracle. Am I correct? Or is there some workaround that will populate my dropdown list?

    Hello!
    Download jTDS - SQL Server and Sybase JDBC driver from http://sourceforge.net/project/showfiles.php?group_id=33291
    In Oracle SQL Developer open Tools -> Preferences
    Database -> Third Party JDBC Drivers
    Add Entry
    Browse the unzipped driver and add the jtds-1.2.jar file
    emeriqus

  • Trouble submitting PDF form with Web Mail

    Hello,
    I have a fillable PDF form that I'm trying to submit. When I submit the form through an email client (Outlook, Mail, etc.) it works perfectly. When I try to submit using the Webmail option, I get this message: "An unknown error has occurred while uploading the attachment. If you are not sure how to proceed further, you can save your form and return it manually using your Internet mail service."
    I've checked the file thoroughly and everything looks correct. I'm perplexed as to why it submits just fine through an email client, but won't submit via Webmail. I've tried on a Mac and a PC and I've tried using a Yahoo account and a Gmail account with the same results. Any ideas?
    Thanks!
    Kate

    I'm using Acrobat XI Pro. I don't have Reader installed on my laptop. The form is for a client who sends it out to patients to fill out, so I need it work with both mail clients and web mail. Is there a way to do that? I don't think changing that preference in my Acrobat will solve the problem, as that will just effect my Acrobat. Is there a setting I can apply to the actual document? Thank you for your response!

  • Email PDF Form as a PDF Document

    It seems as though this has been answered over on the "ES" side, but I can't find it for anyone (like me) using 7.0:
    I am using Adobe LiveCycle Designer 7.0 and I've created a PDF form and it contains a "Submit" button to send the form. The form sends only XML information, but once all the fields are  filled out I need this document to save as a regular, unalterable, PDF.  This will be distributed via email to a small group who have Reader, and they need to save this electronically as a permanent copy of the file.
    I tried altering the XML in designer so that is sends "PDF" rather than XML, but the fields just don't retain the field data...that is, the form is blank.
    The  form needs to be rendered and submitted as a PDF doc not a PDF form.

    Check out http://www.pdfemail.net/
    With PDFEmail.net, you can submit XML, FDF, XFDF, XDP data formats or PDF format.
    PDFEmail.net can merge the Data (XML) submission with a blank form using ASP.net, and attaches it to an e-mail message and sends it through SMTP, without client side e-mail software such as OUTLOOK.
    PDFEmail.net is installed on a workstation, and generates scripts and libraries you "UPLOAD" to your ASP.net webserver. There is no server-side installation, and zero programming knowledge is required. PDFEmail.net creates the scripts for you, and you just point your submit button action to the URL of the script.
    PDFEmail.net uses iTextSharp technologies, and includes 1 year of free technical support.
    For more information visit http://www.pdfemail.net/

  • How to email PDF form as an attachment?

    Hi All,
    I have developed online interactive form app(dynamic).
    When user clicks the submit button after entered the data,
    I want to email the PDF form as an attachment to some users.
    Could anyone please explain the steps or give me some sample code?
    Thanks
    Sundar

    I found this in one of the forums dont remember which, here is the code
      public boolean EmailForm( java.lang.String pernr, java.lang.String toEmail, java.lang.String fromEmail )
        //@@begin EmailForm()
    boolean flag = true;
       try {
        String host = "exchangerelay.yourserver.com";
        //    Get system properties
        Properties props = System.getProperties();
        //    Setup mail server
        props.put("mail.smtp.host", host);
        //    Get session
        Session session = Session.getDefaultInstance (props, null);
        //    Define message
        MimeMessage message = new MimeMessage(session);
        byte[] b = wdContext.currentContextElement().getPdfSource();  
       //Attachment
        ByteArrayInputStream ba = new ByteArrayInputStream(b);
        String filename ="Filename.pdf";
        //This will create a file on the server under folder "server0"
       File file = new File(filename);  
        FileOutputStream fos = new FileOutputStream(file);
        int i = 0;
        for (i = 0; i < b.length; i++) {
         fos.write(b<i>);
        fos.close();  
        DataSource source = new FileDataSource(file);
        BodyPart messageBodyPart = new MimeBodyPart();
        message.setFrom(new InternetAddress(fromEmail));
        message.addRecipient(
         Message.RecipientType.TO,
         new InternetAddress(toEmail));
        message.setSubject ("Subject : ");
        message.setText(
         "This is a confirmation receipt.");
        Multipart multipart = new MimeMultipart();
        messageBodyPart.setDataHandler(new DataHandler(source));
        messageBodyPart.setHeader("Content-Type", "application/pdf");
        messageBodyPart.setFileName(filename);
        multipart.addBodyPart(messageBodyPart);
        message.setContent(multipart);
        Transport transport = session.getTransport("smtp");
        transport.connect(host, "username", "password");
        transport.sendMessage(message, message.getAllRecipients());
        transport.close();  
        flag = true;
        //delete file if you want to here
        file.delete();
       } catch (FileNotFoundException e) {
        flag = false;
        wdComponentAPI.getMessageManager().reportException(
         "FileNotFoundException : " + e.getMessage(),
         false);
       } catch (IOException e) {
        flag = false;
        wdComponentAPI.getMessageManager ().reportException(
         "IOException : " + e.getMessage(),
         false);
       } catch (MessagingException e) {
        flag = false;
        wdComponentAPI.getMessageManager().reportException(
         "MessagingException : " + e.getMessage(),
         false);
       return flag;
        //@@end
    thanks,
    Sanketh

  • Dynamic update of pdf files on web server with xml

    Hi forum
    Is it possible, to make a pdf form quiz, on a web site, there are updating it contents every day just bye replacing a xml file there have the text for the questions.?
    I just need some guindes or ide how to make this. ( i am new in xml/ dynamic pdf files)
    And do i need a LiveCycle form server to to this ?
    Regards
    Th

    Hi there
    I will like to get a mail (xml is fine ) but with the selections the user select in my pdf file.  ( They can select 1 to 3 inside the drop down list )
    Now when i try i only get the source xml, there is used to create the questions.
    I can't see the selection from the user of the form
    like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <Quizes Name="Game1" Id="1000">
    - <Quiz QuestionNumber="1">
    <Question>Will you use this forum ?</Question>
    - <Values NoOfValues="5">
    <Value>1</Value>
    <Value>2</Value>
    <Value>3</Value>
    <Value>4</Value>
    <Value>5</Value>
    </Values>
    </Quiz>
    - <Quiz QuestionNumber="2">
    <Question>Are you a designer ?</Question>
    - <Values NoOfValues="2">
    <Value>Yes</Value>
    <Value>No</Value>
    </Values>
    </Quiz>
    - <Quiz QuestionNumber="3">
    <Question>Dette er en test ?</Question>
    - <Values NoOfValues="2">
    <Value>Ja</Value>
    <Value>Nej</Value>
    </Values>
    </Quiz>
    </Quizes>
    I have try to set the databinding but it will not work for me.
    So if you can guide me where change or set the parameters in the Quiz pdf i hope i can see the way it has to be done.
    Regards
    TH

Maybe you are looking for

  • Outline agrement PR is deleting even when a contract is existing??

    Hi, in our ECC 6.0 implementation, it is possible to delete an Outline agreement PR even when there is a valid Contract exist (referred to said PR). I want to restrict that. How can i restrict user by deleting the PR when a contract is there???? Pls

  • PO Version Mgmt Control by Text Type

    Hi - We currently have Version Management active for Purchase Order for when 'Item Text' is changed/updated on the purchase order, yet Version Management does not invoke for other purchase order item/header texts changes. Does anyone know where in co

  • Automator searching labels rather than tags

    Hi, I'm having a problem with automator since labels changed to tags. I have a few different tags on each file which I'll call Tag A, Tag B, Tag C, and Tag D. Tag A and Tag B are both orange, Tag C is yellow, and Tag D is blue. If I have a file that

  • Launching same applet in new browser window

    Hi, I launched applet in netscape browser and it worked fine. Then I opened a new window and pointed same url as first browser, applet main window is launched but because of shared static variables the two applets conflict each other. we understood t

  • Syncing Iphone 4 S with laptop

    My photostream is now not syncing with my Iphone 4S. it was working perfecty and now has just stopped syncing. How can it be re-set or what can be done so photos can go from my phone to my laptop again?