Using a "Button" to submit the user entered data as a PDF into Email

I have created a form in which the user fills out the form and clicks a "Button" to submit the data via PDF(attached to an email) to a specific email address (mailto:[email protected]). When I email the blank to coworkers it does not allow the functon to work. Any assistance would be greatly appreciated!
Also if you have the time is there a way to define the order of data when user's submit via xml?

That did it. Thank you greatly!
Pete Nappi Jr.
A.N.A. Logistics, Inc.
631-981-4339 Ext:110
Please use www.goodsearch.com and
donate to WLIX radio or your favorite
charity with every internet search...

Similar Messages

  • How to get the user entered data?

    Hi all,
    I have created an HTMLB DynPage component.
    In That i have created my input screen with textboxes using response.write method.
    i have added one onConfirm event on which the data whould validate.
    so onConfirm method im trying to get the data with request.getParameter method which returns null...
    how to do...how to get the user entered data to do my validations...can anyone plz advice.
    Thanks,
    Viswes

    Hi
    inputfield or textbox component entered directly using response.write(...) are not htmlb , but html.
    to create portal input field (ie HTMLB), you should do something like
    this in the doProcessBeforeOutput member function
    InputField field1 = new InputField("Id1");
    field1.setSize(8); // 8 characters
    this.getForm().addComponent(field1);
    and in doProcessAfterInput member function
    InputField field1 =
    (InputField) this.getComponentByName("Id1");
    you can then manipulate the content of the field.
    Hope this help,
    Guillaume

  • What is the easiest way to embed a pdf into email (pdf made in Illustrator CS)

    I created the file in Illustrator CS - I have Acrobat 6.0.2 Professional and Distiller 6.0.2 as well as Photoshop CS, Image ReadyCS, In Design CS to use. I don't have Dreamweaver, etc. and am not html profiecient... hopefullly will be sooner than later.

    This is not an eLearning question. It in fact is not a question related to any Adobe specific product. It is a question related to the program you use for email. For my current email program you can do attachments and that is it, no formatting, not graphics. If you had Dreamweaver and you could encode your file the way you want, you would still need a program that allows for html email. Your best bet is to ask in a forum dedicated to the program you use for email. If that is not possible, perhaps reposting in the pdf workflow forum might be appropriate.

  • To compare two user entered dates

    HI FRIENDS
    here is my code. When i try to print the user entered date (dd/MM/yyyy)(which i am storing in a string) the program dispalys nothing. and everey time i enter a valid date it displas "invalid From date entered ". I need to store the user entered date into a string because i need that for further use. All my intesion is to get two dates from user in dd/MM/yyyy. Strore them in certain variable. Check if they are valid or not. and make sure todate is either equal or greater than fromdate. Please help me to solve this problem.
    public class EDTDateValidation extends JFrame implements ActionListener{
    private JLabel fromlabel;
    private JLabel tolabel;
    private JTextField fromtxt;
    private JTextField totxt;
    private String fmt ="dd/MM/yyyy";
    private java.lang.String fromdate;
    private java.lang.String todate;
    private JButton buttonOK;
    private JButton buttonCancel;
    private Date theDate;
    private Date date1;
    private Date date2;
    private JPanel mainPanel;
    SimpleDateFormat dtformat = new SimpleDateFormat(fmt);
    public EDTDateValidation(){
    super("Date Validation");
    dtformat.setLenient(false);
    mainPanel=new JPanel();
    mainPanel.setLayout(null);
    fromlabel = new JLabel("From Date");
    tolabel = new JLabel("To Date");
    buttonOK = new JButton("OK");
    buttonCancel = new JButton("Cancel");
    fromdate = new String();
    todate = new String();
    fromtxt = new JTextField(10);
    totxt = new JTextField(10);
    fromdate = fromtxt.getText();
    todate = totxt.getText();
    mainPanel.add(fromlabel);
    fromlabel.setBounds(20,20,50,15);
    mainPanel.add(tolabel);
    tolabel.setBounds(20,50,50,15);
    mainPanel.add(fromtxt);
    fromtxt.setBounds(90,20,130,20);
    mainPanel.add(totxt);
    totxt. setBounds(90,50,130,20);
    mainPanel.add(buttonOK);
    buttonOK.setBounds(70,80,71,23);
    mainPanel.add(buttonCancel);
    buttonCancel.setBounds(150,80,71,23);
    buttonOK.addActionListener(this);
    buttonCancel.addActionListener(this);
    setContentPane(mainPanel);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setSize(247,140);
    setResizable(false);
    //pack();
    public static void main(String args[]) {
    try {
    UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
    catch(Exception e) {
    System.err.println("Could not load Look and Feel" + e);
    EDTDateValidation edtDateVal = new EDTDateValidation();
    edtDateVal.setVisible(true);
    public void actionPerformed(ActionEvent e) {
    if(e.getSource() == buttonOK){
    System.out.println(fromtxt.getText());
    // System.out.println(SimpleDateFormat.format(fromdate));
    System.out.println(fromdate); //THIS DISPLAYS BLANK
    System.out.println(todate); //THIS ASWELL
    try {
    Date date = null;
    date = dtformat.parse(fromdate);
    System.out.println("valid From date entered!");
    catch(Exception f) {
    System.out.println("Invalid From date entered!");
    // textField1.setText("");
    return;
    try {
    Date date = null;
    date = dtformat.parse(todate);
    System.out.println("valid TO date entered!");
    catch(Exception f) {
    System.out.println("Invalid To date entered!");
    // textField1.setText("");
    return;
    }

    Judging from your code, you've got a lot of learning
    to do. I suggest you
    split it up:
    1. Write non-GUI code that attempts to parse, compare
    and format dates.
    2. Write simpler GUI code to capture ordinary
    strings, for example, and
    worry about dates after you can do something simpler.And standard instructions: Use code tags.

  • How to get the User entered value in the Submit request form for a parameter of a concurrent program in Oracle applications.

    Hi All,
    I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
    After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field .  i want to get that string.
    Thanks a lot in advance for your time and help.
    - Vijay

    Hi All,
    I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
    After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field .  i want to get that string.
    Thanks a lot in advance for your time and help.
    - Vijay

  • How can I make the Stock Market Panel load AFTER the User Enters correct password?

    Can someone PLEASE help me. I need the Second part of this code(the Stock Market Panel) to be display after the user enters the correct username and password I have predefine. I really need to complete this project for school, Last Semester and i want to finally graduate!
    <?xml version="1.0"?>
    <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     xmlns:s="library://ns.adobe.com/flex/spark">
              <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  public var u:String;
                                  public var p:String;
                                  public function log():void
                                            u=user.text.toLowerCase();
                                            p=pass.text.toLowerCase();
                                            if((u==''||u!='webmultimedia')||(p==''||p!='abc'))
                                                      Alert.show('Wrong userid or Password','Sorry',Alert.OK | Alert.CANCEL);
                                            else
                                                      Alert.show('Hi','Welcome',mx.controls.Alert.OK);
                                  public function clear():void
                                            user.text='';
                                            pass.text='';
                        ]]>
              </fx:Script>
              <mx:Panel id="NewForm" title="Please Log In" height="214" width="285" horizontalAlign="center" verticalAlign="middle" horizontalCenter="23" verticalCenter="2">
                        <mx:Label id="User Name" text="User Name"/> 
                        <mx:TextInput id="user" />
                        <mx:Label id="password" text="Password"/>
                        <mx:TextInput id="pass" displayAsPassword="true"/>   
                        <mx:Button id="submit" label="Submit" click="log()"/>
              </mx:Panel>
              <mx:Panel width="349" height="383" chromeColor="#1B8905" color="#FFFFFF" focusColor="#0F3CFF"
                                    fontFamily="Georgia" fontSize="21" fontWeight="bold" paddingBottom="10"
                                    paddingLeft="10" paddingRight="10" paddingTop="10" title="Stock Market">
                        <!--First Pane Of TabNavigator-->
                        <mx:TabNavigator borderStyle="solid">
                                  <mx:VBox y="71" width="371" height="334" label="Dow Jones"
                                                       chromeColor="#0A741C">
                                            <mx:Image id="loader1" source="http://dl.dropbox.com/u/8861424/stock1.png"/>
                                            <mx:RichTextEditor id="myRTE" width="355" height="286" borderVisible="true"
                                                                                       color="#000000" text="Enter Stock Comment"/>
                                  </mx:VBox>
                                  <!-- Second pane of TabNavigator -->
                                  <mx:VBox label="SandP" width="500" height="350">
                                            <mx:Image id="loader2" source="http://dl.dropbox.com/u/8861424/Untitled.png"/>
                                            <mx:RichTextEditor id="myRTE2" width="355" height="286" borderVisible="true"
                                                                                       color="#000000" text="Enter Stock Comment"/>
                                  </mx:VBox>
                                  <!-- Second pane of TabNavigator -->
                                  <mx:VBox label="Nasdaq" width="500" height="350">
                                            <mx:Image id="loader3" source="http://dl.dropbox.com/u/8861424/stock2.png"/>
                                            <mx:RichTextEditor id="myRTE3" width="355" height="286" borderVisible="true"
                                                                                       color="#000000" text="Enter Stock Comment"/>
                                  </mx:VBox>
                        </mx:TabNavigator>
              </mx:Panel> 
    </mx:Application>

    it's probably not the correct way to do it but I am more familiar with Flex4 (which use states) but this works
    however i had to remove your Alert they were throwing an error
    <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                            xmlns:mx="library://ns.adobe.com/flex/mx"
                                            xmlns:s="library://ns.adobe.com/flex/spark">
              <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  public var u:String;
                                  public var p:String;
                                  public function log():void
                                            u = user.text.toLowerCase();
                                            p = pass.text.toLowerCase();
                                            if ((u == '' || u != 'webmultimedia') || (p == '' || p != 'abc'))
                                                      //Alert.show('Wrong userid or Password', 'Sorry', Alert.OK | Alert.CANCEL);
                                            else
                                                      //Alert.show('Hi', 'Welcome', mx.controls.Alert.OK);
                                                      stockMarket.visible = true;
                                                      NewForm.visible = false;
                                  public function clear():void
                                            user.text = '';
                                            pass.text = '';
                        ]]>
              </fx:Script>
              <mx:Panel id="NewForm"
                                    title="Please Log In"
                                    height="214"
                                    width="285"
                                    horizontalAlign="center"
                                    verticalAlign="middle"
                                    horizontalCenter="23"
                                    verticalCenter="2">
                        <mx:Label id="UserName"
                                              text="User Name" />
                        <mx:TextInput id="user" />
                        <mx:Label id="password"
                                              text="Password" />
                        <mx:TextInput id="pass"
                                                        displayAsPassword="true" />
                        <mx:Button id="submit"
                                               label="Submit"
                                               click="log()" />
              </mx:Panel>
              <mx:Panel id="stockMarket"
                                    visible="false"
                                    width="349"
                                    height="383"
                                    chromeColor="#1B8905"
                                    color="#FFFFFF"
                                    focusColor="#0F3CFF"
                                    fontFamily="Georgia"
                                    fontSize="21"
                                    fontWeight="bold"
                                    paddingBottom="10"
                                    paddingLeft="10"
                                    paddingRight="10"
                                    paddingTop="10"
                                    title="Stock Market">
                        <!--First Pane Of TabNavigator-->
                        <mx:TabNavigator borderStyle="solid">
                                  <mx:VBox y="71"
                                                       width="371"
                                                       height="334"
                                                       label="Dow Jones"
                                                       chromeColor="#0A741C">
                                            <mx:Image id="loader1"
                                                                  source="http://dl.dropbox.com/u/8861424/stock1.png" />
                                            <mx:RichTextEditor id="myRTE"
                                                                                       width="355"
                                                                                       height="286"
                                                                                       borderVisible="true"
                                                                                       color="#000000"
                                                                                       text="Enter Stock Comment" />
                                  </mx:VBox>
                                  <!-- Second pane of TabNavigator -->
                                  <mx:VBox label="SandP"
                                                       width="500"
                                                       height="350">
                                            <mx:Image id="loader2"
                                                                  source="http://dl.dropbox.com/u/8861424/Untitled.png" />
                                            <mx:RichTextEditor id="myRTE2"
                                                                                       width="355"
                                                                                       height="286"
                                                                                       borderVisible="true"
                                                                                       color="#000000"
                                                                                       text="Enter Stock Comment" />
                                  </mx:VBox>
                                  <!-- Second pane of TabNavigator -->
                                  <mx:VBox label="Nasdaq"
                                                       width="500"
                                                       height="350">
                                            <mx:Image id="loader3"
                                                                  source="http://dl.dropbox.com/u/8861424/stock2.png" />
                                            <mx:RichTextEditor id="myRTE3"
                                                                                       width="355"
                                                                                       height="286"
                                                                                       borderVisible="true"
                                                                                       color="#000000"
                                                                                       text="Enter Stock Comment" />
                                  </mx:VBox>
                        </mx:TabNavigator>
              </mx:Panel>
    </mx:Application>

  • How can I read the last cell of a JTable that a user Enters data

    I have a one column JTable with several rows that a user enters data to. Upon entering the last data, the user clicks a button to read all the data from the rows in the JTable and puts them in an arraylist. If the user does not click enter or navigates away from the last cell, then after clicking the button it does not read the last cell entered. Since the user is clicking on a button to indicate he is done entering data on the table, does he also have to hit the enter key to indicate he is done entering the data?
    The code below is my tablemodelListener:
    public class InteractiveTableModelListener implements TableModelListener {
    public void tableChanged(TableModelEvent evt) {
    if (evt.getType() == TableModelEvent.UPDATE) {
    int row = evt.getFirstRow();
    System.out.println("Update row:"+" "+row);
    jTable1.setRowSelectionInterval(row, row);
    }

    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
    In the future, Swing related questions should be posted in the Swing fourm. (This question has been asked and answered dozens of times).
    But there is not need to repost because [Table Stop Editing|http://www.camick.com/java/blog.html?name=table-stop-editing] explains whats happening and give a couple of solutions.

  • How do I create a form field ONLY template in Acrobat 9 Pro that will let the user enter and print only the form field data on a pre-printed form?

    This template will be used to type in information that will then be printed on an agency's official, barcoded form loaded in a printer (instead of blank paper.)  Only the user-entered info should print on the pre-printed form.  Users will use Adobe Reader to complete their templates; they do not have Acrobat.  Thank you!

    Use the template as non-printable background and add the form fields.

  • How to use User entered dates in intreval

    Hi,
    User will enter date range in variable
    As per my requirment i want to use no of days between those 2 user entered dates in my calculaction
    How can i achieve this at report level.
    Thanks

    Hi
    Create a variable with intreval.
    There is a function module which calculates the no of days between the days
    Go to SE38 and ZXRSRU01 Program
    Write the Code like this (Not exact code)  you can modify
    WHEN "ZZZZZ"(Before that create a formula variable to get the number of days between the days and use the tech name of the formula variable here)
    read ..the lower limit and the upper limit of the caldaz variable
    FROMDATE = L_S_RANGE-low
    TODATE = L_S_RANGE-HIGH
    Then call the function module
    Search for the function module by using days in SE37
    Then pass the from and to Date to the function module it will retun the number of days
    update that to table e_T_Range
    You can proceed with this
    Regards
    M.A

  • How to keep a calculation field blank until the user enters a number?

    I am building a sales sheet for a school that sells scrip as a fund-raiser. I have the document set so that when the user enters the number of scrip certificates he wants (say, two $25 gift certificates at Lowe's), the program will automatically calculate that this user owes $50 for that scrip category. However, there are more than 100 companies that one can choose from, and if the user doesn't enter a number, the calculated field shows $0. Is there a way that each field can stay blank until the user enters a number bigger than zero? By the way, I'm using this calculation to determine the value (borrowed from a user on this forum): event.value = 50 * this.getField("Lowes").value
    Thanks!

    There are two approaches. You can either add the following Validate script:
    // Custom Validate script for calculated field
    if (+event.value !== 0) event.value = "";
    Or you can change your custom Calculate script and set the Format type of the field to "None":
    // Custom Calculate script
    (function () {
        var v = +getField("Lowes").value;
        event.value = (v !== 0) ? util.printf("$%.2f", v) : "";

  • How to add a field to the selection screen and when the user enters ...

    hi all,
    can any one plesase send the code of how to add a field to seletiion screen and when the user enters in the field , it should be store in the database table , the table is MKPF and the field is BKTXT.  Thanks.

    Hi Kripa,
       If u r using PNP ldb then the screen u will get is the screen for that ldb and if u want to add some more fields then u define using selection-screen..as follows
    SELECTION-SCREEN BEGIN OF BLOCK mysel WITH FRAME TITLE text-111.
    PARAMETERS: n_in_en  RADIOBUTTON GROUP g1,
                q_ev  RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK mysel.
    SELECTION-SCREEN BEGIN OF BLOCK mysel1 WITH FRAME TITLE text-222.
    PARAMETERS: r_date TYPE sy-datum DEFAULT sy-datum.
    SELECTION-SCREEN END OF BLOCK mysel1.
    SELECTION-SCREEN BEGIN OF BLOCK mysel2 WITH FRAME TITLE text-333.
    PARAMETERS:f_ver(3) TYPE c DEFAULT 1,
               c_no(10) TYPE c DEFAULT '9D0161',
               u_id(15) TYPE c,
               password(15) TYPE c,
               r_email(30) TYPE c DEFAULT PARAMETERS: s_not TYPE c AS CHECKBOX.
    PARAMETERS:t_run TYPE c  AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK mysel2.
    SELECTION-SCREEN BEGIN OF BLOCK mysel3 WITH FRAME TITLE text-444.
    SELECTION-SCREEN BEGIN OF BLOCK mysel4 WITH FRAME TITLE text-555.
    PARAMETERS: p_ser  RADIOBUTTON GROUP g2,
    a_ser  RADIOBUTTON GROUP g2.
    SELECTION-SCREEN END OF BLOCK mysel4.
    SELECTION-SCREEN BEGIN OF BLOCK mysel5 WITH FRAME TITLE text-666.
    PARAMETERS:p_path TYPE string.
    SELECTION-SCREEN END OF BLOCK mysel5.
    SELECTION-SCREEN END OF BLOCK mysel3.
    u will get this additional screen after the screen of ldb.
    I hope this will help u..
    Thanks & Regards
    Ashu Singh.

  • Add WHERE criterias in addition to what the user enters on search page

    Hi,
    This may be a simple problem, but I have not been able to solve it.....Is there a way for me to code another search criteria in addition to what the user enters?
    I'm trying to create a simple search page. Basically, user logs on, i get his acoount number and save it in a variable. Then whatever the user's search criterias are , I want to add "AND ACCOUNT = ???."
    I've tried:
    In the processRequest, retrieve his account number using a VO, stored account number in variavle x and then call a initQuery(x) for the VO to get only the rows that he should be able to see. Problem A: I get 'SQLStmtException' when I test the page by trying to do a Simple Search. So to fix that, in the VOImpl, I added these two calls -- setWhereClauseParams(null); setWhereClause(null); -- after the executeQuery(). After I did this, ran into Problem B: the user could search any record that wasn't associated with his account.
    I also tried to dynamically create the vo using createViewObjectFromQueryStmt("Select * from table where account = " + x) but was not successful. The page didn't render and I received a ClassCastException similar to this thread -- Re: How to Create OAViewObject programatically
    I'm new to OAF and would appreciate any pointers on how to implement this.
    Thanks,
    LL

    Hi,
    I assume that you haven't tried the following steps..if you have and still get an error, give us the SQL statement error that is coming up. If I misunderstood your requirement, could you elaborate.
    I assume that when the user logs in you get the account number automatically.
    You could define the VO to have the following where condition 'WHERE ACCOUNT=:1'.
    Then you set the account id from the user using setWhereClauseParams(0,accountid) and call executeQuery. This would limit the result to that user.
    This will work in addition to any other search fields that might have been used in the query.
    For e.g with just the account id the sql that will be fired is
    Select attribute1, attribute2....from Tablexxx where account = :1
    Any other user search criteria given in the page will result in a ssql query like the following
    select * from (Select attribute1, attribute2 ...from Tablexx where accoount = :1) where newattribute like `%xx`
    Hope this helps. Let us know if you still have issues.
    Thank you,
    Arun

  • How to find the user entered value is Integer or not?

    hi,
    i want to find, whether the user entered value is Integer or not. If it is Integer, i wanna continue the program. otherwise send an error message. i tried to find for function in API. But i couldn't. can somebody help me with sample code. very urgent.

    Do a Integer.parseInt(<string value>) in a try catch block If a NumberFormatException is thrown, the entered number is not an integer.

  • How to get the user entered  header text on a delivery

    Hi All,
    I am looking for a internal table which holds the user entered text in header text of the delivery. I was able to find header data in XTHEAD table. But actual lines(entered text)  in which structure it holds. I checked TLINETAB but its empty.
    My requirement is to check the user enterd text to validate at userexi_save .
    Any help will be appreciated
    Thanks
    Sai.

    Hi all,
    Thanks for ur replies.
    I already tried READ_TEXT. but its not giving the current value.
    check the following code:
            CLEAR lv_valid.
            READ TABLE catalog
                  INTO ls_catalog
                  WITH KEY tdobject = c_vbbk1
                             tdname = likp-vbeln
                               tdid = c_z043.
            IF sy-subrc = 0.
              CHECK ls_catalog-function NE 'D'.
              CALL FUNCTION 'READ_TEXT'
                EXPORTING
                  id                      = ls_catalog-tdid
                  language                = ls_catalog-tdspras
                  name                    = ls_catalog-tdname
                  object                  = ls_catalog-tdobject
                TABLES
                  lines                   = lt_tline
                EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
              IF sy-subrc = 0.
                CLEAR lv_valid.
                READ TABLE lt_tline INTO ls_tline INDEX 1.
                CALL METHOD z2cl_utilities=>is_valid_text
                  EXPORTING
                    p_text  = ls_tline-tdline
                  IMPORTING
                    p_text1 = lv_text1
                    p_text2 = lv_text2
                    p_valid = lv_valid.
                IF lv_valid IS  INITIAL.
                  MESSAGE e504(z2vl) WITH lv_text1 lv_text2.
                ENDIF.

  • Is that possible to display the user selection data in the printable page?

    Hi All,
    I'm going to add a printablepage button on my page.
    Here comes a questions.
    Is that possible to display the user selection data in the printable page?
    For example,
    I have a table in the page,with 10 records.User select 5 of them.Can I display these 5 records in the printable page?
    Please help.

    Hi Yannick,
    Thanks a lot for the information. It worked.
    The portlet data can be accessible using bindings, but parameter name can be different.
    Meanwhile I have got one more scenario, where the Portlet and Task Flow placed in different pages of WCP Application. On change of data in the Portlet the application should navigate to another page where the Task Flow placed and displays selected data.
    Basically I can not use any button for navigation. The navigation should happen once I do some action in Portlet.
    Is this possible? If yes can you please let me know the steps?
    Thanks in advance!
    Somnath
    Edited by: Somnath Basak on Dec 20, 2011 9:41 AM

Maybe you are looking for