Trigger Pop up on action submit

Hi ,
I have developed one webdynpro with interactive form. On Action submit , I'm able to trigger popup.
But my problem is in my submit method, after calling this popup method, I have some other code, which is getting executed before displaying the popup. After executing complete submit method then POPup is  displaying. 
How can I restrict for not executing rest of the code in submit method, until user clicks OK button in the pop-up?
Appreciate your response.
With Regards,
Ravi.D

Hi Ravi,
You would do something like shown below:
* Popup
  DATA lo_window_manager TYPE REF TO if_wd_window_manager.
  DATA lo_api_component  TYPE REF TO if_wd_component.
  DATA lo_window         TYPE REF TO if_wd_window.
  lo_api_component  = wd_comp_controller->wd_get_api( ).
  lo_window_manager = lo_api_component->get_window_manager( ).
  lo_window         = lo_window_manager->create_window(
    window_name          = 'W_POPUP' " your window name
    message_display_mode = if_wd_window=>co_msg_display_mode_selected
    button_kind          = if_wd_window=>co_buttons_ok
    message_type         = if_wd_window=>co_msg_type_none
    default_button       = if_wd_window=>co_button_ok
  DATA:  l_api TYPE REF TO if_wd_view_controller.
  l_api = wd_this->wd_get_api( ).
  lo_window->subscribe_to_button_event(
               button            = if_wd_window=>co_button_ok
               action_name       = 'ON_OK
               action_view       = l_api
               is_default_button = abap_true ).
  lo_window->open( ).
As you can see both the call to CREATE_WINDOW & the subscription to the popups buttons are present in the same view. In this snippet I am specifying that up on clicking my popups OK button I would like to trigger the action ON_ACTION. So you would also have to keep in mind to create this action in the "Actions" tab of your view.
Regards,
Uday

Similar Messages

  • On action submit

    Gudday,
    I need to integrate adobeform in my WDA.My sample adobefrom displays just pernr and first name.
    Should i write select statements in on action submit function to fill the form dynamically?
    Can anyone suggest me how can i do this??
    Awaiting your reply.
    Thanks,
    Deepthi.

    hi, i too came across the same problem as yours.. what i did was i wrote coding in wddoinit, which then calls layout from ftp transaction.. my code in wddoinit was,
        data lo_nd_zfp_emp_01 type ref to if_wd_context_node.
      data lo_el_zfp_emp_01 type ref to if_wd_context_element.
      data ls_zfp_emp_01 type wd_this->element_zfp_emp_01.
    navigate from <CONTEXT> to <ZFP_EMP_01> via lead selection
      lo_nd_zfp_emp_01 = wd_context->get_child_node( name = wd_this->wdctx_zfp_emp_01 ).
    get element via lead selection
      lo_el_zfp_emp_01 = lo_nd_zfp_emp_01->get_element(  ).
    get all declared attributes
      lo_el_zfp_emp_01->get_static_attributes(
        importing
          static_attributes = ls_zfp_emp_01 ).
      CONSTANTS:    c_graphics    TYPE   tdobjectgr  VALUE 'GRAPHICS',
                    c_bmap        TYPE   tdidgr      VALUE 'BMAP' ,
                    c_bcol        TYPE   tdbtype     VALUE 'BCOL'.
      DATA:         lv_pernr1 TYPE tdobname.
    Vorna and Nachn.
      ls_zfp_emp_01-i_firstname = 'VIKRAM'.
      ls_zfp_emp_01-i_lastname = 'SALVI'.
    Get the Photographs.
    lv_pernr1 = '00000028'. " Employee Number
    CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
       EXPORTING
         p_object       = c_graphics
         p_name         = lv_pernr1
         p_id           = c_bmap
         p_btype        = c_bcol
       RECEIVING
         p_bmp          = ls_zfp_emp_01-i_photo
       EXCEPTIONS
         not_found      = 1
         internal_error = 2
         OTHERS         = 3.
    Send the values back to the node
      lo_el_zfp_emp_01->set_static_attributes(
        EXPORTING
          static_attributes = ls_zfp_emp_01 ).
    go through this code,
    it will work, all u need to do is make some changes according to ur program in above,
    hope u find it useful..
    regards,
    vikram salvi

  • How integrate BPM Action(Submit,Approve) with ADF using worklist APIs

    Hi All,
    Can anyone please help me to say that how to implement the work-list APIs for integrating BPM Actions (Submit,Approve etc.) in Custom ADF page?
    Thanks in Adv.

    Hi Renuka,
    There are basically two ways to create an ADF UI for a BPM Task:
    1. Generate it from the task
    2. Create a ADF Taskflow based on Human Workflow Task
    Since I tell this by heart, I might be slightly wrong in the terms.
    You probably want to try the second option. It is accessible from the "New Gallery". You'll have to provide the Human Task from the BPM project, but then you can build up the ADF Taskflow by your self, based on the customizations of the rest of your application.
    Should not be rocket science for someone with ADF11g experience. Since it is not my dayly job, I need to figure it out every time again ;). But I did it in the past and it wasn't so hard.
    Regards,
    Martien

  • How to trigger pop-up window in report and update data base from report

    Hi All,
    I have a requirement, in a report output list to trigger a pop up window with some rejection codes corresponding to each sales order when i select from the output list. Also i need to update data base by selecting one of the rejection code in the pop-up window list for that sales order. Can any one please let me know how to achive this.
    Also, i have check boxes for each record in the output list. Also, i have added one more check box as "Select All'. When select 'Sleect All' check box , all check boxes need to be checked, how to achieve this. PLease let me know.
    Thanks in advance.
    Regards,
    Rajesh

    Hi check this code of editable ALV report... I updated the data base with the changes made..in the editable ALV
    *& Report ZJAY_EDIT_ALV
    REPORT zjay_edit_alv.
    * TYPE-POOLS *
    TYPE-POOLS: slis.
    * INTERNAL TABLES/WORK AREAS/VARIABLES
    DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
    i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
    w_field TYPE slis_fieldcat_alv,
    p_table LIKE dd02l-tabname,
    dy_table TYPE REF TO data,
    dy_tab TYPE REF TO data,
    dy_line TYPE REF TO data.
    * FIELD-SYMBOLS *
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
    <dyn_wa> TYPE ANY,
    <dyn_field> TYPE ANY,
    <dyn_tab_temp> TYPE STANDARD TABLE.
    * SELECTION SCREEN *
    PARAMETERS: tabname(30) TYPE c DEFAULT 'MARA',
    lines(5) TYPE n DEFAULT 7.
    * START-OF-SELECTION *
    START-OF-SELECTION.
    * Storing table name
    p_table = tabname.
    * Create internal table dynamically with the stucture of table name
    * entered in the selection screen
    CREATE DATA dy_table TYPE STANDARD TABLE OF (p_table).
    ASSIGN dy_table->* TO <dyn_table>.
    IF sy-subrc <> 0.
    MESSAGE i000(z_zzz_ca_messages) WITH ' No table found'.
    LEAVE TO LIST-PROCESSING.
    ENDIF.
    * Create workarea for the table
    CREATE DATA dy_line LIKE LINE OF <dyn_table>.
    ASSIGN dy_line->* TO <dyn_wa>.
    * Create another temp. table
    CREATE DATA dy_tab TYPE STANDARD TABLE OF (p_table).
    ASSIGN dy_tab->* TO <dyn_tab_temp>.
    SORT i_fieldcat BY col_pos.
    * Select data from table
    SELECT * FROM (p_table)
    INTO TABLE <dyn_table>
    UP TO lines ROWS.
    REFRESH <dyn_tab_temp>.
    * Display report
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_structure_name = p_table
    i_callback_user_command = 'USER_COMMAND'
    i_callback_pf_status_set = 'SET_PF_STATUS'
    TABLES
    t_outtab = <dyn_table>
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    ENDIF.
    *& Form SET_PF_STATUS
    * Setting custom PF-Status
    * -->RT_EXTAB Excluding table
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'ZSTANDARD'. "copy it from SALV func group standard
    ENDFORM. "SET_PF_STATUS
    *& Form user_command
    * Handling custom function codes
    * -->R_UCOMM Function code value
    * -->RS_SELFIELD Info. of cursor position in ALV
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    * Local data declaration
    DATA: li_tab TYPE REF TO data,
    l_line TYPE REF TO data.
    * Local field-symbols
    FIELD-SYMBOLS:<l_tab> TYPE table,
    <l_wa> TYPE ANY.
    * Create table
    CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
    ASSIGN li_tab->* TO <l_tab>.
    * Create workarea
    CREATE DATA l_line LIKE LINE OF <l_tab>.
    ASSIGN l_line->* TO <l_wa>.
    CASE r_ucomm.
    * When a record is selected
    WHEN '&IC1'.
    * Read the selected record
    READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
    rs_selfield-tabindex.
    IF sy-subrc = 0.
    * Store the record in an internal table
    APPEND <dyn_wa> TO <l_tab>.
    * Fetch the field catalog info
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-repid
    i_structure_name = p_table
    CHANGING
    ct_fieldcat = i_fieldcat
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    IF sy-subrc = 0.
    * Make all the fields input enabled except key fields
    w_field-input = 'X'.
    MODIFY i_fieldcat FROM w_field TRANSPORTING input
    WHERE key IS INITIAL.
    ENDIF.
    * Display the record for editing purpose
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_structure_name = p_table
    it_fieldcat = i_fieldcat
    i_screen_start_column = 10
    i_screen_start_line = 15
    i_screen_end_column = 200
    i_screen_end_line = 20
    TABLES
    t_outtab = <l_tab>
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc = 0.
    * Read the modified data
    READ TABLE <l_tab> INDEX 1 INTO <l_wa>.
    * If the record is changed then track its index no.
    * and populate it in an internal table for future
    * action
    IF sy-subrc = 0 AND <dyn_wa> <> <l_wa>.
    <dyn_wa> = <l_wa>.
    i_index = rs_selfield-tabindex.
    APPEND i_index.
    ENDIF.
    ENDIF.
    ENDIF.
    * When save button is pressed
    WHEN 'SAVE'.
    * Sort the index table
    SORT i_index.
    * Delete all duplicate records
    DELETE ADJACENT DUPLICATES FROM i_index.
    LOOP AT i_index.
    * Find out the changes in the internal table
    * and populate these changes in another internal table
    READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX i_index.
    IF sy-subrc = 0.
    APPEND <dyn_wa> TO <dyn_tab_temp>.
    ENDIF.
    ENDLOOP.
    * Lock the table
    CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
    mode_rstable = 'E'
    tabname = p_table
    EXCEPTIONS
    foreign_lock = 1
    system_failure = 2
    OTHERS = 3.
    IF sy-subrc = 0.
    * Modify the database table with these changes
    MODIFY (p_table) FROM TABLE <dyn_tab_temp>.
    REFRESH <dyn_tab_temp>.
    * Unlock the table
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
    mode_rstable = 'E'
    tabname = p_table.
    ENDIF.
    ENDCASE.
    rs_selfield-refresh = 'X'.
    ENDFORM. "user_command

  • Trigger notification without user action...

    Hi All,
    I followed below blog and achieved publishing/Broadcasting messages to logged in users. Everything is working fine. My issue is, user must have to do some action in portal, then only the display popup (notification) will be displayed (poped up). I want this popup/message will be shown to the user even he/she is idle ( i mean without any action of end user in portal).
    Brodcast messages to logged on users in Portal(Part1)
    Brodcast messages to logged on users in Portal(Part2)
    Above blog works only when user do some action in portal. I want this message to be displayed without any user action.
    Is there any API / Service I can use????
    Please help...
    Thanks,
    Pradeep

    Nitesh,
    Thanks...
    Quick POLL??? its totally un related...
    I want to show a message like SM02 transaction in ECC. some notification service... like notifiying logged in users about system down time or software upgrades or some thing else.
    I have already built the application and it is working fine.
    As I kept the iview in content area of framework page, it will only refreshed/activated when some action happen in content area of framework page. so, I need some advice on.... even user is idle, this iview should be refreshed and show the pop up.
    Issue here is: there are two iViews 1. Publish Notification and 2. Display Notification.
    Publish notification iView is given to the users to trigger/publish notifications and Display Notification iView is kept under Content Area of Inner Page of the Framework page.
    So, when Content area is refreshed or had some action, then only Dispaly Notification iView will be triggered and then pop up message (notification) is Visible.... Now I the requirement is, even when user is idle then also display notification iview/dynpage and its methods should execute.
    Thanks,
    Pradeep

  • Outlook pops out on form submit

    I am making a form on Dreamweaver CC and I want to integrate that form in a Muse website and when I click submit, a window from Outlook pops out to send an e-mail to the recieptient e-mail.
    I already read here but I don't know if I can integrate a PHP script with Adobe Muse files on my server. Would they enter in conflict or that's fine?
    This is the code of the form:
    <form action="mailto:[email protected]" method="get" enctype="text/plain" name="form1">
    <p>
      <label for="textfield"><strong>Name:</strong></label>
      <input type="text" name="textfield" id="textfield">
      <label for="email"><strong>Email:</strong></label>
    <input type="email" name="email" id="email">
    </p>
    <p>
      <label for="textfield2"><strong><br>
        PICK-UP<br>
        <br>
        Location:</strong></label>
      <input type="text" name="textfield2" id="textfield2">
      <label for="date"><strong>Date:</strong></label>
      <input type="date" name="date" id="date">
      <label for="time"><strong>Time:</strong></label>
      <input type="time" name="time" id="time">
    </p>
    <p>
      <label for="textfield3"><strong><br>
        DROP-OFF<br>
        <br>
        Location:</strong></label>
      <input type="text" name="textfield3" id="textfield3">
      <label for="date2"><strong>Date:</strong></label>
      <input type="date" name="date2" id="date2">
      <label for="time2"><strong>Time:</strong></label>
      <input type="time" name="time2" id="time2">
    </p>
    <p>
      <label for="textfield4"><strong><br>
        Type of Car:</strong></label>
      <input type="text" name="textfield4" id="textfield4">
    </p>
    <p>
      <label for="textarea"><strong><br>
        Notes/Extras:</strong> <em>(i.e.: GPS, Baby Seat, etc...)</em><br>
      </label>
      <textarea name="textarea" id="textarea" cols="45" rows="5"></textarea>
    </p>
    <p> </p>
    <p>
      <input name="submit" type="submit" id="submit" formaction="Submit Form" formmethod="GET" value="Send">
    </p>
    </form>
    Waiting an answer.
    Best wishes,
    Miguel

    Mailto: links on form submit are not reliable for several reasons.
    Most web mail users do not have Outlook or similar e-mail clients installed on their system. When they click your submit button, nothing will happen.
    Mailto: links do not hide your e-mail address from harvesters and spam bots. 
    Your form is not secure from spam bots and hackers.
    AFAIK, Muse does not support server-side scripting.  But that shouldn't preclude you from using a contact form with a separate form-to-email processing script.  You point your HTML form to the script using the action attribute.
    <form action="your_script.php"
    Which script depends on your server.  Ask your hosting provider if they have scripts you can use.  If they don't, find out which server-side languages your hosting plan supports -- php, asp.net, coldfusion, perl, etc...
    This will narrow your search form appropriate scripts you can use.
    Nancy O.

  • Pop screen from action profile

    Hi ,
    We have configured action profile in lead to create opportunity under certain conditions. We have different types of opportunities. My question is  it possible to  display the pop screen to the user, so that they can select the type opportunity they wants to create. 
    Thanks
    Elize

    Hi Elize,
    As far as I know it is not possible to have user interaction within action execution. Mainly because it is background process.
    As an alternative you can create several actions, e.g. one per type of opportunity and then trigger the corresponding action accordingly.
    Hopping this answer your question.
    Sincerely,
    Alain Gauthier

  • Trigger correlations from Javascript Actions

    Hi!
    I'm trying to use Javascript actions (as suggested here:
    http://forums.novell.com/novell-prod...ue-values.html)
    to detect port scans from a set of "drop" events generated by
    firewalls.
    For example I'd like to trigger a "Port sweep" correlated event
    everytime a single host (InitIP or InitHostName) tries to contact more
    than N distinct targets on the same TCP/UDP port and these connections
    are blocked by firewalls.
    I'm implementig this check by means of an action script that is
    triggered by a correlation rule, fired everytime a single host performs
    more than 100 drops in 1 minute. The script counts the number of
    distinct targets in the list of correlated events and evaluates to true
    if that number exceeds a given threshold (N).
    Now, I can verify the functionality of my script with the integrated
    Javascript debugger but I'm not able to generate a correlated event when
    the script evaluates to true. The documentation for developing custom
    Javascript actions available on http://www.novell.com/developer does not
    cover all SDK objects and methods (e.g.: CorrelatedEvent).
    How can I generate a correlated events from a JS action script
    triggered by a correlation? I tried to modify the triggering correlated
    event with
    this.corrEvent.setSeverity(5);
    this.corrEvent.setEvt(instance.CONFIG.params.scanT ype+" detected");
    but the modified event is not sent to DB or GUI.
    How can I trigger another action (such as Configure Correlated Event or
    Send Email) from a JavaScript Action?
    Any idea?
    m_gandolfi
    m_gandolfi's Profile: http://forums.novell.com/member.php?userid=53553
    View this thread: http://forums.novell.com/showthread.php?t=425156

    DCorlette;2044717 Wrote:
    >
    > As you say, you can't create a correlated event from your Action. The
    > only thing that can create correlated events is, in fact, the
    > correlation engine - and that all happens BEFORE the Action is
    > triggered.
    >
    Hi.
    Fortunately your statement was not completely correct . It is
    possible to trigger events using the provided java API. The main problem
    is the lack of documentation explaining objects and methods of the SDK.
    I didn't like the idea of sending an audit or syslog event and watching
    for it with another correlation rule. The new correlated event would be
    unlinked from the events triggering the correlation (the "view trigger
    events" functionality would become useless) and most of its fields would
    be empty, thus missing details for historical queries and reports. So,
    in my first implementation, I called the save() method of the correlated
    event object after modifying some of its fields:
    this.corrEvt.setSeverity(3);
    this.corrEvt.setEvt(evtName);
    this.corrEvt.setSubResource(scanType);
    this.corrEvt.setMessage(msg);
    this.corrEvt.save();
    This allowed me to submit changes to the DB but active views didn't
    notice the changes. So I added some code to send notifications through
    the email integrator.
    The main problem with this approach is that event summaries, which are
    run each hour on DAS component, don't populate some tables used for
    reporting (ESECDBA.EVT_NAME, ESECDBA.EVT_RSRC, etc.).
    Looking at correlation engine's logs and at ccsapp and ccsbase packages
    included in the SDK, I noticed that the correlation engine calls the
    sendEvents method of the EventPublisher interface to trigger events. I
    could reproduce this behaviour in my Javascript action as follows:
    importPackage(Packages.esecurity.base.ccs.services );
    // PUBLISH NEW CORRELATED EVENT
    //var channel = "correlation_binary_event_update" // with this
    channel, events are published to DB only
    var channel = "correlation_binary_event" // with this channel, events
    are published to DB and GUI
    var publisher = ComponentServices.instance().getEventPublisher();
    var evtList = new ArrayList(1);
    evtList.add(this.corrEvt);
    publisher.sendEvents(channel, evtList);
    Now correlated events are re-published to GUI and summary tables are
    correctly populated.
    m_gandolfi
    m_gandolfi's Profile: http://forums.novell.com/member.php?userid=53553
    View this thread: http://forums.novell.com/showthread.php?t=425156

  • Partial trigger not woring on the Submit button of the application panel.

    Hi,
    I am facing an issue that I am not sure if it is a framework bug. I used Submit button on the app panel and would like to hide it in some cases. I used a partial trigger for this button. But it doesn't respond to the trigger at all!. I also tried the same trigger on other buttons on the app panel, such as Done, Save, etc.. they all work as expected. Does any one know if this is as designed or a frame work bug?
    Thanks,
    Chunyang

    Hi Frank,
    Thanks for the reply. Good news, I just found out this morning after I refreshed my view that the Submit button refresh issue is resolved. Looks like ADF team was working on that bug.
    I have another question on the app panel buttons.
    My use case for this button is to use this Submit button as a Save and Close drop down, with Save As under it. The object has versions with a version navigation pull down list. When navigate to a Pending version, the buttons are like:
    [Save] [Save and Close |\/] [Cancel]
    |Save As |
    when navigate to a submitted/released version the buttons should be like:
    [Save As] [Done]
    Could you advise how I can achieve this? Currently I make [Save] [Save and Close |\/] [Cancel] invisible and [Done] to be visible for non-pending versions. I also added an additional |Save As | from actionButtonBar facet to be visible in this case, because the original |Save As | is under [Save and Close |\/] , which is not visible in this case. Not sure if it is the right approach. Now the |Save As | is on the left side of the vertical separator, instead of on the right side, since all the buttons under actionButtonBar facet are on the left side of the vertical separator. So you see the buttons like this:
    [Save As] | [Done]
    Thanks,
    Chunyang

  • Suppress pop-up messages on SUBMIT

    I created a program that calls and passes values to 6 standard transactions (IDOCS related) using SUBMIT.  How can I suppress the pop-up info msgs on those called transactions?  I tried using the additions TO SAP-SPOOL and EXPORTING LIST TO MEMORY (sample below) but the msgs still display. 
    SUBMIT RBDSEGLM
          WITH KPLSEL IN s_ktopl1
          WITH BUKSEL IN s_bukrs
          WITH ACCSEL IN s_saknr1
          WITH MESTYP EQ cc_glmast
          WITH LOGSYS EQ cc_logsys
          EXPORTING LIST TO MEMORY
          AND RETURN.
    I need the addition AND RETURN to process succeeding statements.
    I can not use CALL TRANSACTION USING itab MODE 'N' because of the select-options in the called selection-screens.  Also, the program cannot be executed in background because I call GUI_DOWNLOAD to save the EDI file to local directory.
    Any inputs are welcome. Thanks in advance =)

    hi Giancarla Daroy ,
    use key word 'without spool dynpro' in between the SUBMIT ....and RETURN stmt.
    <b><i>Reward points if useful</i></b>
    chandra

  • Show/Hide action & Submit Form action on mobile apps

    I want to set up multiple small "help" buttons in various places on my PDF form so that when the user clicks on them, additional information is shown.
    However, my understanding is the the show/hide action is not supported on most mobile devices using the free Adobe Reader.
    Do tool tips work on mobile devices?
    Does the Submit Form work on mobile devices?
    Can anyone help with a suggestion/workaround?

    Hi,
    bind the value properties of the input fields to a managed bean in viewScope. E.g. value=#{viewScope.managedBean.attributeName}. This then guarantees that the bean content survives the request and the data is still there
    Frank

  • Have a window pop up after email submit button is clicked

    Is there a way to have a pop up occur after a user has pressed the email submit button? I need to have a reminder pop up as the form is submitted. Thank you in advance!

    Have you gotten an answer to this question yet?
    Here's what I did:
    I created a regular button with the following script on the "click event"
    EmailSubmitButton.execEvent("click");
    Then created another button (EmailSubmitButton)with the Control Type set to Submit; Submit to url should be: mailto:[email protected]; and Submit as PDF (if you want the actual form to come back to you) or XML (if you just want the data).
    Then I added a script under the EmailSubmitButton's PreSave Event, which states:
    app.alert("Your Form Has Been Submitted.");
    I distribute my form using the Adobe 8 Wizard and it works great.
    I would like to add a script that closes the form after submission. The script I found is
    app.execMenuItem("Close");
    This script is placed on the next line following the above app.alert message under the EmailSubmitButton. It works fine if you send the form manually via email, but Adobe has an error message when I try to distribute it.
    If anyone can help me with this issue. I would really appreciate it.
    Thanks,
    Jen

  • Can I stop Outlook pop-up on form submit?

    Hi All
    I'm pretty new to Dreamweaver and am not a programmer or
    coder by any stretch of the imagination. I have just created my
    first website (using the design view for the most part) and have
    added a page with a form on. When I preview the form, complete it
    and click 'submit' it opens a new Outlook email message box. The
    address and form details are filled in on the Outlook box and I
    have to press 'send'. Is there a way I can set the form up so that
    it sends in the background without opening this up, as it looks
    amateurish and also means people can see my email address.
    Any help would be really appreciated.
    Many thanks
    m.nutt1

    You've said your hosting supports PHP?
    If yes- then a php script would be easier to setup than the
    nms-formmail
    Perl script.
    1)go to
    http://boaddrink.com
    -->phpformmail
    download it.
    http://www.boaddrink.com/projects/files/phpformmail/phpformmail_classic-1.07
    .2.zip
    extract the ZIP file.
    2) open formmail.php in dreamweaver
    Make the following changes (in code view, turn line numbers
    on)
    2a)
    line 4,
    define('CHECK_REFERER', true);
    change to:
    define('CHECK_REFERER', false);
    reason: too many people use a firewall or Norton security to
    restrict this.
    2b)
    Line 43
    $referers = array('www.example.com', 'example.com');
    change to:
    $referers = array('www.marknuttall.me.uk',
    'marknuttall.me.uk');
    reason: this probably isn't needed since we just turned the
    referrer
    checking off. but change it anyway.
    2c)
    Line 46
    $recipient_array = array();
    change to:
    $recipient_array = array('me' => '[email protected]');
    reason: this sets the email address the form results will be
    sent to.
    3) now do a File-->Save As and save this file to within
    this Local Site
    folder.
    4) in dw's File Panel, find formmail.php and upload it to the
    remote site.
    5) Now open your form html file in dreamweaver, ContactMe.htm
    5a)click the mouse into the form area, and select the
    <form> tag on the
    lower left margin of the design window.
    In the Property Inspectory, it should now show the properties
    of the <form>
    tag. In the Property Inspector, to the right of the ACTION
    line, click the
    folder icon and browse to and select the copy of the
    formmail.php file
    you've saved to within this site.
    5b) click the mouse into the Email field of your form.
    In the property inspector, change the "name" for this field
    from Email to
    email
    reason: this will let the outgoing email have a "reply to"
    that uses the
    visitor's email address.
    5c) now go to dw menu-->Insert-->Form
    Objects-->Hidden Field
    This inserts a hidden form field.
    In the property inspector, change the NAME of this field to:
    recipient
    And the VALUE of this field to: me
    the code should look like:
    <input name="recipient" type="hidden" id="recipient"
    value="me">
    6) Save and upload ContactMe.htm
    Try the form from the website.
    Optional:
    make a new page for a thank you for submitting message.
    In the form, insert another hidden field.
    Name: redirect
    Value: the full absolute
    http:// address to the new thank you page.

  • How to trigger follow up processing actions in appraisal documents?

    Hi gurus,
    We are customizing the performance management process using Objective Settings and Appraisals (ECC 6.0; Enh.Pack 4, ESS/MSS with business pack 1.41) and we have customized the evaluation templates (transaction PHAP_CATALOG_PA) with the enhancement "Follow-Up Proc. (Background) - Adjust Qualific. (Start Date)" in Follow-up Processing section of the Processing tab, at template level (VA object).
    The system functions is ok, and the cualification appears in the employee profile (transaction PPPM) correctly after the performance management especialist trigger it using the admin report (transaction PHAP_ADMIN_PA).
    My question is: Is there anyway to automatically trigger the follow-up processing after the appraisal document is finished? Do we need to develop in ABAP a new implementation of some BADI?
    Thanks in advance!

    Maurice Hagen wrote:
    Followup processes are started as soon as the document goes from status 1-4 to 5 (completed).
    Do you mean ALL available follow-up processes should be started as soon as status is set to "competed"?
    That's not what happens for our (custom) appraisal: follow-up process(es) are not started when the status becomes "completed", neither from the backend nor the portal. We always have to manually launch the follow-up process from the phap_admin transaction, and select the ones we want to be done.
    In phap_catalog, we have a couple of follow-up processes that are selected in the "Processing" tab.
    when the approval process is activated (infty 5025) and or status 6,7,8,9 are selected then the follow up process only takes place after status change to close approved.
    Even when setting the status to "closed approved", no follow-up process is started.
    Any suggestion? Isn't there a setting somewhere that should be set in order for the follow-up prpcesses to be automatically started when the status is set to "completed"?

  • BPM WorkSpace- Action Submit -  HTTP 404  - BPM 11g

    Whenever i click on Submit on a User- Initiator task, i get below error...
    However Instance gets completed on that step and goes to next step.
    The webpage cannot be found
    HTTP 404
    Most likely causes:
    •There might be a typing error in the address.
    •If you clicked on a link, it may be out of date.
    What you can try:
    Retype the address.
    Go back to the previous page.
    Go to and look for the information you want.

    Please have a look at: Re: OracleJSP error: java.io.FileNotFoundException when submitting form

Maybe you are looking for