Disabling one input field if i enter text in second inputfield

Hi,
I am new to WebDynpro. My problem is very simple. I have two input fields. When i enter text in one input field i want the second input field to be disabled & Vice versa. The idea is that i want to give the user the option to enter in only 1 input field of his choice. The second input field should automatically get disabled. He can choose any input field of his choice. The second one should get disabled.
EG: Assume that there are two input fields "Item No" & "Material". The user wants do a search using any one of these parameters, but not both. So, when he chooses to do a search based on "Item No", the "Material" input field should be greyed out(disabled). And, vice versa. The user may decide to choose any one of these fields.
Please advise.

This is not possible because there is no "onFocus" event on the input field.
But you could use two radio buttons R1, R2 to enable exactly one of the input fields F1, F2 at a time.
In the view designer, set R1.keyToSelect = "1", R2.keyToSelect = "2".
Bind R1.selectedKey and R2.selectedKey to a common context attribute A (type string).
If (at runtime) A contains "1", radio button R1 is selected, if A contains "2", radio button R2 is selected.
To enable input field F1 exactly if R1 is selected:
Create a calculated boolean attribute E1 that returns the boolean value ("1".equals(A)), bind property F1.enabled to E1. Do the same for F2.
Armin

Similar Messages

  • How to enable/disable the input fields based on the data entered/user action in the web dynpro abap?

    How to enable/disable the input fields based on the data entered in the web dynpro application abap?  If the user enters data in one input field then only the next input field should be enabled else it should be in disabled state. Please guide.

    Hi,
    Try this code.
    First create a attribute with the name readonly of type wdy_boolean and bind it read_only property of input field of which is you want to enable or disable.
    Next go to Init method.
    Set the readonly value as 'X'.
    DATA lo_el_context TYPE REF TO if_wd_context_element.
         DATA ls_context TYPE wd_this->element_context.
         DATA lv_visible TYPE wd_this->element_context-visible.
    *   get element via lead selection
         lo_el_context = wd_context->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_context IS INITIAL.
         ENDIF.
    *   @TODO fill attribute
    *   lv_visible = 1.
    *   set single attribute
         lo_el_context->set_attribute(
           name =  `READONLY`
           value = 'X').
    After that Go to the Action  ENTER.
    First read the input field ( first input field, which is value entered field) , next give a condition
    if input value is not initial  then set the readonly value is '  '.
    DATA lo_nd_input TYPE REF TO if_wd_context_node.
         DATA lo_el_input TYPE REF TO if_wd_context_element.
         DATA ls_input TYPE wd_this->element_input.
         DATA lv_vbeln TYPE wd_this->element_input-vbeln.
    *   navigate from <CONTEXT> to <INPUT> via lead selection
         lo_nd_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
    *   @TODO handle non existant child
    *   IF lo_nd_input IS INITIAL.
    *   ENDIF.
    *   get element via lead selection
         lo_el_input = lo_nd_input->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_input IS INITIAL.
         ENDIF.
    *   get single attribute
         lo_el_input->get_attribute(
           EXPORTING
             name =  `VBELN`
           IMPORTING
             value = lv_vbeln ).
    if lv_vbeln IS not INITIAL.
        DATA lo_el_context TYPE REF TO if_wd_context_element.
        DATA ls_context TYPE wd_this->element_context.
        DATA lv_visible TYPE wd_this->element_context-visible.
    *  get element via lead selection
        lo_el_context = wd_context->get_element( ).
    *  @TODO handle not set lead selection
        IF lo_el_context IS INITIAL.
        ENDIF.
    *  @TODO fill attribute
    *  lv_visible = 1.
    *  set single attribute
        lo_el_context->set_attribute(
          name =  `READONLY`
          value = ' ' ).

  • Disable an Input field with the help of a radio button selection.

    Hi Guys,
    I know it is a very basic question and also has many threads for the mentioned query. None of the threads gave me a real clue about the problem. It is as follows:
    Simply, I have an input field and there are two more radio buttons on the screen, say rd1, and rd2.
    Initially Rb_gtgr is active and input field is blank and disabled, and when i select Rb_selgr, input field should be active and mandatory. It means when i try to execute the code with out entering any value after it is enabled, an error message should appear. For this the code is as follows:
    AT SELECTION-SCREEN OUTPUT.
      PERFORM screen_grace_on.
    AT SELECTION-SCREEN ON p_grace.
      PERFORM check_grace_days.
    FORM screen_grace_on .
      DATA: l_v_grace TYPE char2.
      CONSTANTS: l_c_grace TYPE char7 VALUE 'P_GRACE'.
    l_v_grace = p_grace.
    CLEAR p_grace.
      IF rb_selgr EQ c_x.
        LOOP AT SCREEN.
          IF screen-group1 = 'ABC'.
            screen-required = 1.
           screen-active = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-group1 = 'ABC'.
            screen-input = 0.
            screen-active = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " SCREEN_GRACE_ON
    FORM check_grace_days.
      IF rb_selgr EQ c_x AND  p_grace EQ 0.
        PERFORM screen_grace_on.
        MESSAGE e492(/ams/ramfcmess1).          " Enter the number of Grace days
      ELSEIF rb_selgr EQ c_x AND p_grace GE 0.
        PERFORM screen_grace_on.
      ENDIF.
    ENDFORM.
    Ideally this code should work since in the PBO i.e., At selection screen output i am enabling the fields, and also when i select the second radio button i am also checking for the value too..
    I am working on 4.7 version of SAP. The Most interesting observation is it works fine for few variants, and not with others.
    Thank you

    Hi,
    Go through this following code,
    selection-screen begin of block B2 with frame title TEXT-005.
    selection-screen begin of line.
    parameters:     P_BIRPT type C radiobutton group RAD1 default 'X' user-command UCOMM.
    selection-screen comment 3(20) TEXT-002 for field P_BIRPT.
    selection-screen end of line.
    selection-screen begin of line.
    parameters:     P_COLRPT type C radiobutton group RAD1.
    selection-screen comment 3(20) TEXT-003 for field P_COLRPT.
    selection-screen end of line.
    selection-screen begin of line.
    parameters:     P_PAYRPT type C radiobutton group RAD1.
    selection-screen comment 3(20) TEXT-004 for field P_PAYRPT.
    selection-screen end of line.
    selection-screen end   of block B2.
    selection-screen begin of block B1 with frame title TEXT-001.
    select-options: SO_KTOKD for  KNA1-KTOKD modif id M4,
              SO_BLART for  BSIS-BLART modif id M2.
    parameters:     P_PAID   type ZCLEAR     modif id M3 as listbox visible length 20.
    selection-screen end   of block B1.
    at selection-screen output.
      loop at screen.
        if P_BIRPT eq 'X'.
          if SCREEN-GROUP1   = 'M2' or SCREEN-GROUP1 = 'M3' .
            SCREEN-INVISIBLE = '1'.
            SCREEN-ACTIVE    = '0'.
            modify screen.
          endif.
        elseif P_COLRPT eq 'X'.
          if SCREEN-GROUP1   = 'M3'.
            SCREEN-INVISIBLE = '1'.
            SCREEN-ACTIVE    = '0'.
            modify screen.
          endif.
        elseif P_PAYRPT eq 'X'.
          if SCREEN-GROUP1   = 'M2'.
            SCREEN-INVISIBLE = '1'.
            SCREEN-ACTIVE    = '0'.
            modify screen.
          endif.
          if SCREEN-GROUP1   = 'M4'.
            SCREEN-INVISIBLE = '1'.
            SCREEN-ACTIVE    = '0'.
            modify screen.
          endif.
        endif.
      endloop.
    Thanks
    Anil D

  • Input enabled cell to enter text

    Hi All,
    I need to create a query which has an input enabled column where user can enter text up to 250 characters. Is this possible only using aggregation level? Is it possible to declare a characteristic to show up as a column and input enabled? I am thinking only key figures can be input enabled and they can accept only numbers but not characters.
    I am new to BI Planning concept. Please let me know the best solution for my requirement.
    Thanks in Advance!
    Sonali.

    Hi,
    Please take a look in the following thread.
    Re: Input Ready query text field
    Hope this helps.

  • Input enabled column to enter text in query

    Hi All,
    I need to create a query which has an input enabled column where user can enter text up to 250 characters. Is this possible only using aggregation level? Is it possible to declare a characteristic to show up as a column and input enabled? I am thinking only key figures can be input enabled and they can accept only numbers but not characters.
    I am new to BI Planning concept. Please let me know the best solution for my requirement.
    Thanks in Advance!
    Sonali.

    Hi,
    Please take a look in the following thread.
    Re: Input Ready query text field
    Hope this helps.

  • How to disable a input field in OVS search

    Hi friends,
    I have crated a OVS search help for matnr.
    i have two input field like matnr and mat desc.. user can enter any value and hit SEARCH..
    im getting results.
    Now i want to hardoced a value of matnr = 001.. and make this field read only..
    how can we do it..
    i just took a example of matnr and mat desc. to make u understand easily...
    kindly help.
    Niraja

    Hi Niraja,
    You can initialize the value for MATNR in the phase 1 of the eventhandler method for OVS. Try refer the code segment below. Am initializing the values for MATNR & MAKTX fields in the lines:
    ls_search_input-matnr = 'D*'.
    ls_search_input-maktx = '*'.
    *     pass the values to the OVS component
          ovs_callback_object->set_input_structure(
              input = ls_search_input ).
    Regards,
    Uday
    Below is the complete code from my eventhandler method:
    method ON_OVS .
    " declare data structures for the fields to be displayed and for the table columns of the selection list
      types:
        begin of lty_stru_input,
    "   add fields for the display of your search input here
          matnr type string,
          maktx type string,
        end of lty_stru_input.
      types:
        begin of lty_stru_list,
    "   add fields for the selection list here
          matnr type string,
          maktx type string,
        end of lty_stru_list.
      data: ls_search_input  type lty_stru_input,
            lt_select_list   type standard table of lty_stru_list,
            ls_text          type wdr_name_value,
            lt_label_texts   type wdr_name_value_list,
            lt_column_texts  type wdr_name_value_list,
            lv_window_title  type string,
            lv_group_header  type string,
            lv_table_header  type string.
      field-symbols: <ls_query_params> type lty_stru_input,
                     <ls_selection>    type lty_stru_list.
      data: lv_matnr type mara-matnr,
            lv_maktx type makt-maktx.
      case ovs_callback_object->phase_indicator.
        when if_wd_ovs=>co_phase_0.  "configuration phase, may be omitted
    " in this phase you have the possibility to define the texts,  if you don't want to use the defaults (DDIC-texts)
          ls_text-name  = `MATNR`.  "must match a field name of search
          ls_text-value = `Material Number`. "wd_assist->get_text( `001` ).
          insert ls_text into table lt_label_texts.
          ls_text-name  = `MAKTX`.
          ls_text-value = `Material Description`.
          insert ls_text into table lt_label_texts.
          ls_text-name = `MATNR`.  "must match a field in list structure
          ls_text-value = `Col1 -> Material Number`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ls_text-name = `MAKTX`.  "must match a field in list structure
          ls_text-value = `Col2 -> Material Description`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ovs_callback_object->set_configuration(
                    label_texts  = lt_label_texts
                    column_texts = lt_column_texts
                    group_header = lv_group_header
                    window_title = lv_window_title
                    table_header = lv_table_header
                    col_count    = 2
                    row_count    = 10 ).
        when if_wd_ovs=>co_phase_1.  "set search structure and defaults
    " In this phase you can set the structure and default values of the search structure. If this phase is omitted, " the search fields will not be displayed, but the selection table is displayed directly.
    " Read values of the original context (not necessary, but you may set these as the defaults). A reference to " the context element is available in the callback object.
          ovs_callback_object->context_element->get_static_attributes
                                               ( importing static_attributes = ls_search_input ).
    " Setting the default values to be displayed in the selection screen
        ls_search_input-matnr = 'D*'.
        ls_search_input-maktx = '*'.
    "     pass the values to the OVS component
          ovs_callback_object->set_input_structure( input = ls_search_input ).
        when if_wd_ovs=>co_phase_2.
    "  If phase 1 is implemented, use the field input for the selection of the table
    "  If phase 1 is omitted, use values from your own context.
          assign ovs_callback_object->query_parameters->*
                                  to <ls_query_params>.
          lv_matnr = <ls_query_params>-matnr.
          lv_maktx = <ls_query_params>-maktx.
    replace all occurences of: '*' in lv_matnr with '%',
                               '*' in lv_maktx with '%'.
    select a~matnr
           b~maktx into corresponding fields of table lt_select_list up to 10 rows
                     from mara  as a inner join
                     makt as b on a~matnr = b~matnr where
                     ( a~matnr like lv_matnr and b~maktx like lv_maktx and b~spras = 'EN' ).
    "     call business logic for a table of possible values
    "     lt_select_list = ???
          ovs_callback_object->set_output_table( output = lt_select_list ).
        when if_wd_ovs=>co_phase_3.
    "   apply result
          assign ovs_callback_object->selection->* to <ls_selection>.
          if <ls_selection> is assigned.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `MATNR`
                                   value = <ls_selection>-MATNR ).
            concatenate 'Description from MAKT:'
                        <ls_selection>-MAKTX
                        into <ls_selection>-MAKTX separated by space.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `MAKTX`
                                   value = <ls_selection>-MAKTX ).
          endif.
      endcase.
    endmethod.

  • More than one Input field [Parameter] in a single row on Selection-Screen.

    Hi All,
    I am having one scenario where i need to create 6 input fields on selection screen. 3 input fields in first row and remaining 3 input fields on the second row. So will you guys send me some sample code how to do this.
    Waiting for your reply.
    Regards,
    Santosh

    Hi Santhosh,
    check this snippet for parameters.
    SELECTION-SCREEN SKIP 3.
    SELECTION-SCREEN BEGIN OF BLOCK calc
                        WITH FRAME TITLE text-001 NO INTERVALS.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS:
      p_param1(3) type c,
      p_param2(3) type c,
      p_param3(3) type c,
      p_param4(3) type c.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK calc.
    check this snippet for select-options.
    SELECTION-SCREEN SKIP 3.
    SELECTION-SCREEN BEGIN OF BLOCK calc
                        WITH FRAME TITLE text-001 NO INTERVALS.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN :
    PUSHBUTTON 20(3) b1  USER-COMMAND b1,
    PUSHBUTTON  29(3) b4  USER-COMMAND b4,
    PUSHBUTTON  38(3) b7  USER-COMMAND b7,
    PUSHBUTTON  47(3) pm  USER-COMMAND pm.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK calc.
    Hope this would help you.
    Regards
    Narin Nandivada.

  • Changing value of one input field based on other.

    Hello All,
    I am having this interesting situation with changing a value of a INPUT form in jsp based on another INPUT.
    Lets say my form has 3 INPUT variables.
    1. YEAR (COMBOBOX) (using the SELECT OPTION)
    2. MONTH (COMBOBOX)(using the SELECT OPTION)
    3. TEXT
    If the user sets the year to 2003, I want to show all 12 months. But if the user sets the year to 2004, I want to show only the month of Jan and then not allow the user to change the value.
    I also need both these values to go as form input when the user hits submit.
    After reading the JSP/Javascript issues other people are having with regard to accessing variables across these two(i.e jsp and javascript), it looks like ther is no easy way to achieve this using
    "onChange=setValue()" on the YEAR field.
    What would be the best way to do this?
    Thanks,
    Chhaya

    u can use javascript funtion
    u can pass day month and year wiich will return false if wrong date was selected like leap year,selecting 31 feb etc.
    function validatedate(dd,mm,yy)
              cday=dd
              aday=dd
              cmonth=mm
              cyear=yy
    leapyearcal=cyear%400
              if(leapyearcal==0)
                   leapyear="OK"
              else
              {     leapyearcal=cyear%100
                   if(leapyearcal==0)
                        leapyear="no"
                   else
                        leapyearcal=cyear%4
                        if(leapyearcal==0)
                             leapyear="OK"
                        else
                             leapyear="no"
              if ((cmonth==1)||(cmonth==3) || (cmonth==5) || (cmonth==7) || (cmonth==8)|| (cmonth==10) || (cmonth==12))
                   aday=31
              if ((cmonth==4)||(cmonth==6) || (cmonth==9) || (cmonth==11))
                   aday=30     
              if ((cmonth==2)&& (leapyear=="OK"))
                   aday=29
              else if (cmonth==2)
                        aday=28
              if (cday>aday)
                        return true
              else
                        return false
    }

  • Disabling the input field inside a table

    I am using a table having 5 fields. i am displaying the data in the table with all the fields as inputfields. When i click a button, the rows having the data should become disable and the rows which doesn,t have the records should be in enable mode only.
    Can we achieve this functionality ?

    Hi Manjunath,
    Thatu2019s what I had suggested the solution foru2026  I will try to put it down again. Take 2 Boolean attributes at your context level:
    1)     Would be a flag to know whether the user has entered any data in this particular row (Lets say flag1). By default set it to false so that it would mean that for the 1st time the entire table being displayed would have the flag1u2019s value as u2018 u2018.
    2)     Would be a variable for using to bind to the table columnu2019s readOnly property (Lets say flag2) By default have this value to false so that the entire column would be in editable mode by default.
    Say suppose you want to make all the working days for which the user has made entries you should bind the cell editors readOnly property of all those columns to flag1.
    When the user enters some data into a row and presses on the save then change the flag1 value for that particular row to X. (So this changes should get reflected on the context nodes data)  So for example the user has entered data for first 2 rows then flag1 would be X for both these rows in the context node.
    Now when the user presses on the Freeze button just get your entire contexts data & loop through only those records where you have flag1 = u2018Xu2019
    Loop at it_data into wa_data where wa_data-flag1 = u2018Xu2019.
                    Wa_data-flag2 = u2018Xu2019.
                    Modify it_data from wa_data transporting flag2.
    Endloop.
    So now you would only set the readOnly value for the rows where flag1 = u2018Xu2019 (i.e., where the user has made his entries). The rest of the rows would still continue to have the default value defined at context level u2018 u2018 and so would remain as editable. I hope that you have understood what I intended to say.
    Regards,
    Uday

  • How to disable the input fields and labels.

    Hi,
         I have a requirement, when i click on button all the fields and labels in the form will be disable .

    Hi,
    You code wizard, in popup select set radio button and select the attribute and click on Ok, It will generate code automatically. Else find the below code
    DATA lo_el_context TYPE REF TO if_wd_context_element.
    lo_el_context = wd_context->get_element( ).
    CALL METHOD lo_el_context->set_attribute
    EXPORTING
    name = `DISABLE`  " Here disable is the name of attribute which u created in context of type wdy_boolean
    value =  'X' .
    Hope this helps u.,
    Thanks & Regards,
    Kiran.

  • User can not enter value in INPUT field.

    hi experts,
    i have a table control on the screen which have one input field which user needs to fill. But as per he business req. we don't want him to enter any value, values should be enter from the search help only.
    If i make input field Read only it comes in gray color and user get confused. tell me some way so i can create white input field in which user can not enter values from key board.
    Please suggest...
    points will be awarded...

    >
    ashish gupta wrote:
    > hi experts,
    >
    > i have a table control on the screen which have one input field which user needs to fill. But as per he business req. we don't want him to enter any value, values should be enter from the search help only.
    >
    >
    > If i make input field Read only it comes in gray color and user get confused. tell me some way so i can create white input field in which user can not enter values from key board.
    >
    >
    > Please suggest...
    >
    > points will be awarded...
    This you cannot control. because if it is enabled only in that case you can see it white.
    do that thing as suggested by basakar to add a new input field just besides first one with zero padding.
    One workaround is use an image instead of real input field. the image should have the input field as image.
    and besides it create the input field with width 0 and padding also zero.
    i think this can fulfill the requirement.
    Thanks
    sarbjeet singh

  • Changing color of  text in the input field

    hi
    when i disable the input field , the text written in it has very light color. How can i change the color of the displayed text in the input field.

    Hi Harsimran,
    changing the text color of an input field is not possible. However, you can build a workaround:
    1. take an expression box, place it exactly over your input field
    2. change its text color and take the value of your input field as value being displayed
    3. instead of making your input field disabled, make it hidden and show the expression box instead.
    Thus, instead of enabling/disabling your input field, switch between expression box/input field to be displayed. I hope it's clear what I mean. If not, don't hesitate to ask again.
    Best regards,
      Benni

  • How to display custom error message if the Required field is not entered?

    Hi,
    I have made one input field as required field in a view.
    I want to display one custom error message ,if the required input field is not entered.
    Please help me regarding this.
    Thanks,
    Deepika

    hi deepika....
    First go to message pool under webdynpro components.
    Create a new message there..of type error.
    Enter your text.
    Now to avoid null pointer exception , in wdDoInit(), initialise the value
    wdContext.currentDateTimeElement().setDate("");
    now create an action for submission of data. If field is empty, then within the button write:
      msg = wdComponentAPI.getComponent().getMessageManager();
        if(wdContext.currentDateTimeElement().getDate().equals(""))
        msg.raiseMessage(IMessageCompTodatDateTime.ERROR,new Object[]{""},true)     ;
    between begin others put:
    regards,
    pinki
      IWDMessageManager msg = null;

  • How to map a context attribute to an input field

    Hi,
    I am new to CRM 2007 UI.I have a table control view on my screen and records are filled in this table when an user enters a value in an input field and presses enter.My bsp page looks something like this.
    <%@page language="abap" %>
    <%@extension name="chtmlb" prefix="chtmlb" %>
    <%@extension name="thtmlb" prefix="thtmlb" %>
    <%@extension name="uhtmlb" prefix="uhtmlb" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <%@extension name="xhtmlb" prefix="xhtmlb" %>
    <%@extension name="crm_bsp_ic" prefix="crmic" %>
    <%@extension name="bsp" prefix="bsp" %>
    <%
      DATA lv_xml TYPE string.
      lv_xml = controller->configuration_descr->get_config_data( ).
    %>
    <thtmlb:grid cellSpacing = "1"
                 columnSize  = "1"
                 height      = "100%"
                 rowSize     = "2"
                 width       = "100%" >
      <thtmlb:gridCell colSpan     = "1"
                       columnIndex = "1"
                       rowIndex    = "1"
                       rowSpan     = "1" >
        <thtmlb:label id   = "NAMELABEL"
                      for  = "NAMEINF"
                      text = "Enter a name" />
        <thtmlb:inputField          id                = "NAMEINF"
                                disabled          = "FALSE"
                                tooltip           = "Enter a name to see all records"
                                submitOnEnter     = "X"/>  </thtmlb:gridCell>
      <thtmlb:gridCell colSpan     = "1"
                       columnIndex = "1"
                       rowIndex    = "2"
                       rowSpan     = "1" >
        <chtmlb:configTable id              = "PaymentTable"
                            table           = "//HeaderData/Table"
                            xml             = "<%= lv_xml %>"
                            selectedRowIndex      = "<%= HeaderData->SELECTED_INDEX %>"
                            fillUpEmptyRows = "FALSE" />
      </thtmlb:gridCell>
    </thtmlb:grid>
    The problem is that I want to map this input field to my context attribute.I am from Webdynpro background and ther its pretty easy :)....
    Any suggestions will be helpful.
    Thanks
    Sourav

    Hi,
    you should add the context attribute to the html page itself, or another way of doing it is to implement the set_model method of the view controller.
    On the view controller you can find a lot of usefull attributes like the view manager which can help you understand the bsp framework
    Best regards,
    Erika

  • Disable sending HTML-Form when pressing Enter from Web Transaction

    Hi,
    I have a web transaction and the corresponding HTML Template.
    In the template I have a form with input fields and a submit button.
    <FORM METHOD="post" ACTION="`wgateurl()`">
    <TD><INPUT TYPE="text" NAME="GWA_HEAD-PROFIT_CENTER" VALUE="`GWA_HEAD-PROFIT_CENTER`></TD>
    <TD><INPUT TYPE="submit" NAME="~okcode=APPR" VALUE="`#approve`"></TD>
    </FORM>
    My problem:
    When entering a value in the input fields and pressing enter the form is submitted.
    Is it possible to disable this way of submitting? I wan't only submit when clicking on the submit button.
    Could Javascript be a solution? But I don't want to check if all input fields are filled with onSubmit. Is there another way?
    Thanks for your help!

    Hi Chris,
    your link is not available now.
    Could you please explain how to fix this issue?
    Thanks in advance.
    GB

Maybe you are looking for

  • Oracle 9.0.1 on RH8.0

    hi all, i am having oracle 9.0.1 CDs for linux but i don't have runinstaller file in the cd. i have the following files on the ist CD Volume in drive E is Ora 9i DB-Linux1 Volume Serial Number is 47EC-7781 Directory of E:\ 01/25/2002 10:12p <DIR> Act

  • Printing with presets in Word:mac 2008

    Hi, I want to be able to print with a chosen preset in Word 2008, because by calling "print", it uses the default setting. I tried: tell application "Microsoft Word" tell (file print) set Presets to "My Preset" print end tell end tell and tell applic

  • Help...people picker control does not recognize outlook formated bulk users

    Hello, Currently out of the box people picker control provides a textbox, User validity icon and a find user book. If there are bulk of users from outlook and paste it, the SharePoint control does not recognize user and cant find bulk users in the fi

  • Import job RSI_IMPORT_CCMS_JOBS is not working in Redwood Cronacle

    Hi, We are facing problems in the redwood cronacle, where in the standard import job RSI_IMPORT_CCMS_JOBS is not working. When ever we are running the script, the status of the import job goes to waiting and never gets completed. When its killed and

  • Servers take an endless time at applying group policy settings

    We have some Windows 2008R2 RDS servers that have been given a syspreped image. After a few day in production, and several nightly reboots, the servers start to hang at applying group policy setting. I have created a gpsvc.log file. What can be wrong