User entered email submition

I was wondering if it is possible, and if it is, how to do it? I want the user of the form to be able to enter an email address, and then when they click the submit button, it sends it to the email address they entered.
Thanks in advance for any help.

Well, I have come close, but I think I might have hit a huge, impossible to cross road block...
I have my text field set up in which the user enters an email address. On the exit event of this field, I have my variable email set to whatever the user enters. (email.value = emailField.rawValue;)
I then have my button which is set to mailto upon a click from the user. (and works perfect if I put in an email address such as [email protected]) I replaced 'mailto:[email protected]?subject=.... with 'mailto:'+email+'?subject=.... Once I do this, which should theoretically insert whatever the user entered into the to field, I get the following error: Outlook does not recognize "[object XFAobject'".
Similarly if i go back to the normal email but set subject to '?subject='+email+... in the subject line of the email [object XFAobject] appears instead of what the user entered.
Any suggestions, or ways to fix this at all?
Any help would be greatly appreciated.
Thanks,
Alan

Similar Messages

  • Sending email to a user-entered email address

    I would like to edit the XML so that when the user clicks on an Email Submit button, the form is sent to an email address that the user has entered into a form field. I have seen code like this on the click event
    event.target.submitForm({cURL:"mailto:"[email protected] + ? subject=This form: " ,cSubmitAs:"XDP",cCharset:"utf-8"});
    but can I edit the XML so that the form is sent to the email address set in one field of the form?

    Hi Sean,
    I haven't delved into these scripts until now. The functions are very similar to code that is auto generated by Action Builder (Tools menu).
    Once the function is generated, it must be called somewhere. If you select the top node and in the script editor select "Events with script", the editor lists all scripts in the form. Control+F and search for the function name, brings up the object and event that calls the function.
    Using auto generated functions to do the form validation is really neat, as it makes this new feature backward compatible.
    I have updated the email buttons sample.
    A word of caution. If you turn off the form validation feature in the properties dialog, LC Designer will remove the function and all of ITS calls to the function. It is unlikely to remove calls that you have put in, so events may fail because they would be calling a function that now doesn't exist.
    Resources:
    There is lots of help around - I would strongly recommend Creating Dynamic Forms with LC Designer by JP Terry - excellent!!
    Also a book that doesn't deal with scripting at all but is very good is Forms that Work by Caroline Jarrett and Gerry Gaffney.
    The Adobe PDF Forms Bible is okay, but mainly focuses on AcroForms.
    Windjack Solutions have a subscription based service for solutions and scripts at http://www.pdfscripting.com. It has a lot of AcroForm script that can be amended to suit LC Designer and a growing library of LC Designer solutions.
    Here are some online resources that you might find helpful:
    http://www.adobe.com/go/learn_lc_scriptingBasics
    http://www.adobe.com/go/learn_lc_scriptingReference
    http://www.adobe.com/go/learn_lc_formCalc
    http://www.adobe.com/devnet/livecycle/articles/Adobe_XML_Form_Object_M odel_Refer ence.pdf
    http://www.adobe.com/devnet/acrobat/pdfs/lc_migrating_acrobat_xmlform. pdf
    And a very handy resource (and while it is for version 6 it is still very good because of the way it is laid out): http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
    There are some solutions on the Adobe Cookbooks: http://cookbooks.adobe.com/livecycle_designer_es
    Lastly, check out the Developer's Network on http://www.adobe.com/devnet/livecycle/ (the site has been updated and relaunched this week).
    Good luck,
    Niall

  • Email using user entered address

    How can i make a button that uses Optional user entered email-address (field)?
    For example:
         - user enters email [email protected] to a specific field
         - there is a email-button that uses the entered email to send a copy of the current pdf to the receipient
    Any help?

    This question has been answered many times on this forum .....
    Have a look at this post ....I created a sample that shows what to do.
    http://forums.adobe.com/message/2109208#2109208
    Paul

  • 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

  • Cell data not getting refreshed in which user enters data OO ALV(editable)

    Hi Friends,
    I am using OO ALV for editable grid display.
    I am unable to change grid data in the cell in which user enters something, using OO ALV. Did through debugging of my own program and found that some problem with system program. Then I did all system debugging. Could not find out why is the grid not getting refreshed with the new data in the cell in which user had entered some value. Rest of the cell's data are getting refreshed with the values which i am updating in the final internal table. I can see that the data in the final internal table is changed for the cell in which user enters data. But even after the call of
          CALL METHOD obj_alvgrid1->refresh_table_display
    does not refreshes the data in the cell in which user had entered data. Rest of the cells data are getting refreshed.
    Piece of code:
      SET HANDLER obj_event_receiver->handle_data_changed
                                         FOR obj_alvgrid1.
        METHODS: handle_data_changed
                       FOR EVENT data_changed OF cl_gui_alv_grid
                           IMPORTING er_data_changed
                                     e_onf4
                                     e_onf4_before
                                     e_onf4_after.
    METHOD handle_data_changed.
      DATA : v_valid    TYPE char1,
             v_refresh  TYPE char1.
    *--check mt_good_cells semantically
      CALL METHOD perform_semantic_checks( er_data_changed ).
    *--If PBO is again visited, just refresh the ALV grid.
      CALL METHOD obj_alvgrid1->refresh_table_display
        EXCEPTIONS
          finished = 1
          OTHERS   = 2.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
    ENDMETHOD.
    METHOD perform_semantic_checks.
        LOOP AT er_data_changed->mt_good_cells INTO w_good.
          v_index = sy-tabix.
          CASE w_good-fieldname.
            WHEN 'ZASCAS'.
    *Now here based on some conditions I am changing my final internal table i_zamtsmatnp
                              MODIFY i_zamtsmatnp FROM w_zamtsmatnp INDEX
                                               w_good-row_id TRANSPORTING
                                                 zascas modif.
    User enters data in zascas field. Based on the data entered, I am changing other fields which is getting refreshed. I am also changing zascas in the program even after user had already entered the value which was bit wrong and i am correcting it in the program on the even "data_changed" even.
    Please help me friends as i m strugling past hours wondering why the data is not getting refreshed for the cell in which user enter data.
    Regards,
    Surya

    Hi Surya,
       The approach you are following is correct. You need to use the comibnation of all these things:
    Event - DATA_CHANGED
    Methods - CHECK_CHANGED_DATA
                 -  GET_CHANGED_DATA.
    However, here are few standard programs which are having similar functionality.
    BCALV_EDIT_03
    BCALV_EDIT_07
    Check out these once.
    Note: If anything is helpful, dont forget to reward points
    Thanks,
    Adithya K
    SAP Practise
    [email protected]

  • PDF Email - via user input email

    Hi,
    I am trying to send adobe form which will be filled by user.
    I was able to email it if I have the email populated already in the form.
    For this I have used normal submit button,changed control type to submit and used mailto: in URL.
    I have used following code in form:ready event of the button.
    this.resolveNode("#event.#submit").target = "mailto:"+$record.ITEM.PEMAI.value;
    This works fine..
    I also want to give user an option for entering email or should overwrite the existing email.How can I accomidate this?
    Rgds
    Vara
    Edited by: Vara K on May 11, 2009 5:48 PM

    Hey Michal,
    it worked!! thank you.
    I am also trying to CC .Let me know what is wrong in this code.
    I want to CC for 4 people.
    var lEmail = xfa.record.ITEM.PEMAI.value;
    var 2Email = xfa.record.ITEM.PPCC1.value;
    var myDoc = event.target;
    try {
      myDoc.mailDoc({
        bUI: false,
        cTo: lEmail,
        cCC: 2Email,
        cSubject: "Subject",
        cMsg: "..."
    } catch (e) {}
    Rgds
    Vara

  • User entered values are lost on EO validation.

    Hi ,
    Subject : user entered values are lost on EO validation.
    WE have an EO which has 4 attributes all are not null (mandatory)
    There is a VO based on this EO
    We have added 4 more attributes using a join in EO query using expert mode.
    On the page there is a Table , that has 8 columns all mapped to these 8 attributes.
    The First column is an LOv that populates 4 column attributes(2 EO based and 2 added thru expert mode)
    When the user submits the page, without entering rest of the two EO mandatory atributes, the EO validation is raised and the 4 fields populated by LOv are cleared.
    Can you pls tell me what am i doing wrong.
    thanks
    Chaitanya

    Observation
    All the table columns that were loosing information were "MessageStyledText" and those not loosing were "MessageTextInput"
    Various approaches
    SO we converted the MessageStyledText columns into MessageTextInput and the data was retaining properly.
    But we wanted these columns are 'ReadOnly' so when we made these columns are MessageTextInput - ReadOnly, then data was not getting popluated by the lov in these.
    Working solution - The FormValue 'Glue'
    We created formValues correcponding columns and populated the FVs also along with the column (both FV and column have same ViewAtt and View instance) and found that in this case the formvalues 'Glues' the VO att value with the page and does not get lost on refresh.
    Strange solution but works, thought to share with all.
    thanks
    Chaitanya

  • Want only the user entered values on the xml generated by clicking the button

    Hi All,
    Here goes the details of the problem.
    1. I have created two textfields(texttfield3 and textfield4) along with an email button in a fragment and binded to an XSD file.textfield3 and textfield4 are user entered fields.
    2. On the design page I have created two more fields texfield1 and textfield2 and binded to another XSD.These two fields are read only fields.
    3. On preview PDF screen whenever you click on the email button,you get a mail option with an xml file attached to it.
    4. whenever you open the xml file,you will get the values of all the four fields.Its given below
    <form1>
    <TextField1>value1</TextField1>
    <TextField2>value2</TextField2>
    <TextField3>value3</TextField3>
    <TextField4>value4</TextField4>
    </form1>
    5.But I want only user entered fields to be displayed on the xml page i.e
    <form1>
    <TextField3>value3</TextField3>
    <TextField4>value4</TextField4>
    </form1>
    6.How can I remove or avoid the read only fields not to be displayed on the xml page???
    Thanks in advance

    This forum is for our hosted services of LiveCycle.  I'd suggest that you repost this question this on the Designer (best choice) or Forms forum.

  • Problems when user enter the field

    I have problem when user enter the field, but it cannot retrieve from the table. Below is my program, help me to check is it correct or not, THANKS
    <input type="text" name="po_num<%=i%>" style="width:100%;text-align:left;" onChnage="chkPOexist(<%=i%>)">
    Function chkPOexist(i){
    if documen.all.po_num.value == null {
    alert ("PO cannot be null");
    else {
    po_num = new String;
    po_num = eval(document.po_num[i].value)
    alert(po_num);
    <% System.out.println("PP " +po_num);
    sql_query = "SELECT po_num"+
    " FROM pomast"+
    " WHERE po_num '"+po_num+"' ";
                        try{
                        rset = db.execSQL(sql_query);
                        catch(SQLException e) {
                        System.err.println("Error in query");
                        while(rset.next()== true){
    po_num = rset.getString("po_num");
    %>
    </select value="<%=po_num%>"><%=po_num%></select>
                        <%}%>

    You seem to have some confusion between java and javascript, and when they run.
    Java code runs only on the server, and produces an HTML page.
    Javascript code runs on the client.
    The two can not communicate. Specific to your example you seem to think that the java code will be executed by your onChange event.
    This is not the case.
    In order to run java code again you have make a request by submitting the form, or clicking on a link.
    Cheers,
    evnafets

  • How to Customize the Error Message when a user enters a wrong password

    Hi Gurus
    Pls Help out me that
    How to Customize the Error Message when a user enters a  wrong password ?
    I need the Help to Customize the messege ?
    How  we can do
    Pls Tell me indetail

    Firstly many appologies I have given you slightly duff information here, I had been editing the file above for email notification texts not logon / password texts.
    The file you need is actually a portal .par file and can be found in the deployment/pcd directory.  The file you need is called com.sap.portal.runtime.logon.par (with a .bak extension at this time). 
    You need to copy this file to a local machine and unzip the contents.  The files you need to edit are contained in a further jar file which can be found in the \PORTAL-INF\lib directory - it is called umelogonbase.jar.  It too needs to be extracted and the file you need to edit is logonMessages_xx.properties (where the xx is the language code you are using).
    In this file you will find lines like:
    NUMERIC_REQUIRED=Invalid new password (must contain digits)
    You need to identify which texts you wish to modify and edit the text to the right of the equals sign.  Once complete rezip the umelogonbase.jar file and then the com.sap.portal.runtime.logon.par (this time name it without the .bak extension.  Then logon to the portal and upload the new par and you should see your new logon messages.
    Haydn

  • Cannot Enter email address with an address book list popping up

    GW 8.0.2. I have one user that cannot type an email address into the to: field without a list of addresses popping up for him to choose from. Example: He enters [email protected] All email addresses that begin with sales in the GW address book appear for him to make a selection and will not let him use the email address as typed. It adds the email address to the list if he puts it in a personal addressbook or in frequent contacts. I have run a GWCheck structure and contents against his database. Not sure where else to look.
    Thanks
    Bill

    Sorry wrong group
    >>> [email protected] 3/21/2013 11:17:AM >>>
    GW 8.0.2. I have one user that cannot type an email address into the to: field without a list of addresses popping up for him to choose from. Example: He enters [email protected] All email addresses that begin with sales in the GW address book appear for him to make a selection and will not let him use the email address as typed. It adds the email address to the list if he puts it in a personal addressbook or in frequent contacts. I have run a GWCheck structure and contents against his database. Not sure where else to look.
    Thanks
    Bill

  • Enter Email Notification Sender

    Hi ppl,
    in CUP (AC 5.3 Compliant User Provisioning (AE)), when configuring the SMTP server for Email notifications (Configuration -> Workflow -> SMTP Server), there is a check box for "Enter Email Notification Sender".  When you click this, a text box opens for entry of an email address (System Email ID).
    Do you know what the purpose of this field is?
    Many thanks,
    Babak

    Hi Babak,
       This was added in AC 5.3 SP2 or SP3. When CUP sends emails out, the From field in the email used to be last approver or requestor's name. This can create confusion among the receiver of the email.
    To remove this confusion, SAP added this field. Whichever email id you configure in this textbox would show up in the From field of the emails going out through CUP.
    Regards,
    Alpesh

  • 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.

  • In R12, can payroll user enter expense report for employees via web-based?

    Hi,
    In R12, can payroll user enter expense report for employees via web-based screen? Previously in 11i, it can be done via the Expense Report forms.
    Appreciate advise on this.
    Thanks in advance.
    Regards,
    Shiau Chin

    Hi Anne,
    Please see page 42 of the [url http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120oieig.pdf]iExpenses Implementation and Admin Guide for R12 . If you are unable to enter the ID as per the guide, I would suggest raising an Service Request with Oracle Support.
    Cheers, Pete

  • Interactive Report - comparing user entered text field against a table field - the comparison is not finding a hit when it should.

    Example
    User enters 12345 in a pre filter ----- item_number field and this value exist in the table but its defined as VARCHAR2(2000).
    No match is found.  Do I need to define this text field in a certain way so that a match occurs - say in the element or source for P1_ITEM_NUMBER.
    How does a user entered value of 12345 match a value in the table of 12345 - defined as a varchar2(2000).
    Thanks  

    Why are you storing numbers in a varchar2?
    This is bad designing.  (storing date information in a varchar2 field is even worst.)
    99% of the time, when the number 12345 does not match the string '12345', it is because the value in the table is actually '                         12345'
    Run the following SQL command in the SQL workshop.  (you'll need to adjust to match schema,table,column names)
    select item_number, length( item_number) as string_length
    from schema_name.table_name
    If '12345' does not have a string_length of 5, then you have bad data in your database.

Maybe you are looking for

  • How can i run a jar file as EXE on mouse click..

    *{color:#0000ff}how can i run a jar file as EXE on mouse click..is it possible in any way?????????{color}*

  • Microsoft skype video call for nokia belle

    hi its normal nokia plus microsoft and nokia belle still didn´t get support for video call and the ios and android yes what can i thing about this?it is the big problem make that for nokia8 or where is the problem ? please can someone tell me more ab

  • Every time i try to install the trail for Adobe AE it gives me this error

    Exit Code: 34 Please see specific errors below for troubleshooting. For example,  ERROR: -------------------------------------- Summary -------------------------------------- - 1 fatal error(s), 0 error(s) FATAL: Payload 'Photoshop Camera Raw 7 7.0.0

  • Display attachement extension field with link in report

    Hi gurus, Do you know how i can display in a report, an attachment extension field, with the link to the document ? It displays fine, but how can i add the hyperlink to open it directly from the report ? Regards, Simion

  • Frustration with Snow Leopard??

    Has anyone got a permanent fix for Snow Leopard suddenly losing settings? Today, I was able to have an external speaker hooked up, and then suddenly, the next time I went to play something, the external speaker was not an option in the Sound preferen