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 = ' ' ).

Similar Messages

  • How to display the data of CJ2C(T-CODE) using web dynpro abap

    Hi all:
        How to display the data of CJ2C(T-CODE) using web dynpro abap.
        CJ2C used to display a Gantt Chart.
        Thanks.

    Hi,
    Create a Value attribute (resource) of type Resource, bind it with the property of File Upload UI element.
    On action place the code and Deploy the application
    byte[] bytes = new byte[ 1024];
    FileOutputStream out = new FileOutputStream( new File( <path in server>));
    InputStream in = resource.read( true);
    int len;
    while( ( len = in.read( bytes)) > 0)
         out.write( bytes, 0, len);
    in.close();
    out.close();
    Regards
         Vinod V

  • How to enable /disable a command Button based on a table's selectOne choice

    Hi everyone.
    I am using JDeveloper 10.1.3.3 and wish to enable / disable a commandButton based on the user's selection of the selectOne radio button.
    The idea is that a row of a table may have an associated document so I want to enable or disable the button that downloads it based n the current row selected.
    I have followed the advice on problem with table I defined my selectOne component as follows :
    <af:tableSelectOne text="#{res['tables.selectionFacet.title']}"
        autoSubmit="true"
        attributeChangeListener="#{backing_browseCVs.onSelectionChange}">The function inside the backing bean looks like this
        public void onSelectionChange(AttributeChangeEvent attributeChangeEvent)
            // access the faces context
            FacesContext fc = FacesContext.getCurrentInstance();
            // get value of the expression #{row.hasCVDocument} that indicates
            // if a document has been added
            ValueBinding vb =
                fc.getApplication().createValueBinding("#{row.hasCVDocument}");
            Boolean hasDoc = (Boolean)vb.getValue(fc);
            // enable the doownload button accordingly
            downloadCVDocBtn.setDisabled(!hasDoc);
        }My problem is that the method never fires. I have placed a breakpoint at the first line but it is never reached.
    Any advice will be most welcome.
    Thanassis

    Hi,
    You might need to add 'dataProvider' part in the expression language in your selectionListener:
    #{bindings.CVList.currentRow.[b]dataProvider.hasCVDocument}
    #{bindings.CVList.currentRow} returns an instance of ViewRowImpl which does not have 'getHasCVDocument()' method, but does have:
    Object getCurrentRow()
    method, which returns objects from your CVList list, which do have getHasCVDocument() method...
    Expression language is resolved through reflection, so when you write:
    #{processScope.someClass.someReferencedClass.someAttribute} it is something like:
    Get someClass from processScope map, then:
    someClass.getSomeReferencedClass().getSomeAttribute()
    It's a bit more complex but you get the idea.
    Vladimir

  • How to trigger action dynamically in Web Dynpro ABAP?

    Hi,
    I need to trigger an action dynamically. How do I do that?
    Eg. I have Search Tab where I input Purchase Order Number and press Find button to get the PO details.
    Now I have an Overview Tab where I have listed all the Purchase Orders, after selecting a purchase order I click the Transfer button on the Overview Tab, on clicking on transfer button I navigate to the Search Tab and the PO number selected in Overview Tab is binded and appears in the Search Tab.
    In the same flow I also want to trigger the action without clicking on Find button of Search Tab so that I get the search results.
    Please let me know how to go about doing this.
    Thanks
    Samekshaa

    fire plugs in Search Tab as it has multiple UI view containers which displays different views in the Search tab.
    can you elaborate on that ...  a clear explaination of what u intend to do will be of great help.
    Outbound Plugs can have Parameters. so you can still decide what plug to fire , further when in the details view.
    i dont think there is option of raising ONACTION automatically because framework create an EVENT object for each action, at the most you can transfer this EVENT as Parameter to other methods.
    Greetings
    Prashant

  • How to Enable/Disable/Grey out   fields

    Hello Friends,
    My requirement is to create 3 buttons....by default all should be enabled.when i click on first button other should get disable.....means one at a time.
    I have created 3 attributes of type wdy_boolean...and in button properties ENABLED-- i binded it to corresponding attributes.
    then in Actions i am setting that attributes...i tries as ABAP_TRUE as well as ABAP_FALSE but by default all are coming disabled.
    Can you pls help me out of this.
    Thanks
    Kiran

    in Customizing Transaction SPRO
    goto:
    SAP Solution Manager
    Scenario-Specific Settings
    Change Request Management
    Extended Configuration
    Change Transaction
    Transaction Types
    Partner Schema
    Define Partner Determination Procedure
    >> select your Procedure i.e. ZDHF0001
    goto: "Partner Functions in Procedure"
    change the flags in "Changeable"
    PS: be aware that this might cause other problems to appear.

  • 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

  • Higlighting the input field

    Hi Experts ,
    i want to higlight the input field based on some condition  , i tried using reporting attribute message ,
    but how to hide the MSG area ? higliting the input field is enough for me  .
    have a look at the below image .
    [http://i56.tinypic.com/119qnwn.jpg  |http://i56.tinypic.com/119qnwn.jpg  ]
    Regards
    Chinnaiya P

    Problem solved by my self .
    let me share the piece of code to hide  the msg area .
    if lv_field1 ne lv_field2.
    * get message manager
    DATA lo_api_controller     TYPE REF TO if_wd_controller.
    DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
    lo_api_controller ?= wd_this->wd_get_api( ).
    CALL METHOD lo_api_controller->get_message_manager
      RECEIVING
        message_manager = lo_message_manager   .
    * report message
    CALL METHOD lo_message_manager->report_attribute_error_message
      EXPORTING
        message_text              = 'hiiia '
        element                   =  lo_el_context
        attribute_name            = 'FIELD2'
      receiving
        message_id                = msgid .
    * below code will reset the message .
    data: l_api_testcase1              type ref to if_wd_view_controller,
          l_api_wdr_test_msg_area      type ref to if_wd_window_controller,
          l_wd_message_area            type ref to if_wd_message_area.
      l_api_testcase1 ?= wd_this->wd_get_api( ).
      l_api_wdr_test_msg_area ?= l_api_testcase1->get_embedding_window_ctlr( ).
      l_wd_message_area = l_api_wdr_test_msg_area->get_message_area( ).
      l_wd_message_area->reset_messages( i_keep_current = 'X' ).
       endif .
    have a look to the solution arrived .
    [http://i54.tinypic.com/11gna4w.jpg|http://i54.tinypic.com/11gna4w.jpg]
    thanks for all those give your valuable suggesion
    Regards
    chinnaiya P
    Edited by: chinnaiya pandiyan on Jan 28, 2011 5:08 PM

  • Clearing the data buffer from the input fields

    Hi,
    I am using an user exit CONFPP02 for the Tcode: co11n. I have written a program such that the confirmation numbers having the status CNF will not be allowed to be processed. The whole confirmation is terminated when the system checks the confirmation number and its status as CNF. If the status of the confirmation number is PCNF, the program allows the further processing of the Tcode Co11n.
    The problem starts when the user enters the PCNF status confirmation number and enters, the system stores the values in the various input fields. Now without exiting the initial confirmation screen, if the user replaces the Confirmation number of the PCNF status to the Confirmation number of the CNF status , the system issues a warning message:"  Confirmation no. or order/sequence/operation has been changed
    However, the input fields still contain default values from thepreceding confirmation". if the user says yes, the program written is bypassed , thus allowing the reconfirmation of the CNF confirmation number  into PCNF confirmation number .
    Can anybody suggest a suitable method to clear the data stored defultly in the input fields so that the program can be made to work.
    With regards,
    Avinash.S
    Mobile no:09996192456

    Hi Gilad,
    I never use Preview and did not use Preview at all before sending the document over to my most recent client either.
    I only opened Preview up this morning after I discovered that all of the form data had disappeared on his end! And the only reason I opened up Preview was because I already knew it looked fine in Acrobat so wanted so wanted to view the form in a different application.
    My client would not even have notified me about it had he not sent the signed form back to me and I saw there was no data there! I then called him and asked him about the missing data and he said that he thought I had simply sent over the form purposely with blank fields:(
    I have just emailed him to ask him what application he opened it up in. My understanding is that he is on Windows because ne mentioned to me his company was using Windows when we last spoke. Perhaps he has a personal Macbook where he opened it? I just don't know and can hopefully soon find out:)
    But THANK YOU for letting me know about that script! I appreciate it:) I have now downloaded and installed it and will just have to use it on ALL of my forms before sending them out:)

  • How to call web dynpro ABAp application into workflow

    Hello All,
    How to call webdynpro application into workflow .Is it possible ?
    Scenario is : A web dynpro application should flow into 3 levels of approvals .
    Please share your knowledge .
    Thanks
    Sonal

    >
    Saurav Mago wrote:
    > hi,
    > I dont think from workflow , you can call WD application. 
    >
    > Thanx.
    Actually you can configure a workitem to launch WDA via UWL ( http://help.sap.com/saphelp_nw70ehp1/helpdata/en/59/d516690e854c7090ae15bf492a869f/frameset.htm ) or in the NetWeaver Business Client using the Business Workflow Workplace (WDA Application SWF_WORKPLACE).
    There is also a chapter in the upcomming SAP Press 2nd edtion workflow book on different aspects of Web Dynpro ABAP integration into Workflow:
    http://www.sappress.com/product.cfm?account=&product=H3057

  • 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

  • In BSP how to give the input field as mandatory?

    Hi friends,
    In BSP how to give the input field as mandatory?
    In BSP i want to validate the input field (example checking the material no is valid or not)
    if this material no doesnot exit means i want to pass error message.What is the code for that.
    Moosa

    hi
    try this
    in LAYOUT
    <htmlb:inputField id = "vname"  disabled = "False" value = "<%= v_visitor %>"/> <font color="red" size="2"><b><%= page->messages->assert_message( 'vname' ) %></b></font></td>
    in DO_HANDLE_EVENT
    in oninputprocessing
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
    IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
      DATA: event TYPE REF TO CL_HTMLB_EVENT.
      event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
      IF event->name = 'button' AND event->event_type = 'click'.
        DATA: button_event TYPE REF TO CL_HTMLB_EVENT_BUTTON.
        button_event ?= event.
      ENDIF.
        case event->id.
            when 'select'.
               if v_visitor = ''.
                 page->messages->add_message(
                 condition = 'vname'
                 message   = 'Visitor Name can not be blank'
                 severity  = page->messages->CO_SEVERITY_ERROR ).
              ELSE.
                    here u can write ur when ur field getting filled
            endif.
         endcase.
    endif.
    give marks if it is helpful
    thanks

  • How to enable /disable the row in ALV?

    Hi Experts,
    I have gone through some threads on this but I did not find useful to my requirement.
    My requirement is:
    Consider two columns : one is set delete column (a button) and another editable field.
    When the user presses on set delete button. The editable field should be disabled and it should be enabled whenever the user presses the button again.
    Kindly let me know the solution.
    Thanks.

    Hi,
    As i am also new to web dynpro abap. I found it a gud thing to learn about ALV grid.
    So, I tried doing it like that and found that its not at all difficult.
    Here is the procedure that i followed.
    1. Create a context node with two attribute from any table structure and one attribute of type wdy_boolean for controlling the
        enable property of input field.
    2. i used the supply function to fill the node. Here is the code for the same.
    data lt_dealer type wd_this->Elements_zdealer.             "My node name is zdealer
    DATA ls_dealer LIKE LINE OF lt_dealer.
    select * from zdealer into corresponding fields of table lt_dealer.
    loop at lt_dealer into ls_dealer.
      ls_dealer-enable = abap_true.                             "to enable all the fields initially
      modify lt_dealer from ls_dealer.
      endloop.
    node->bind_table( lt_dealer ).
    3. create view container UIelment in the view and embed table view of the ALV used comp.
    4.  add interface controller of SALV_WD_TABLE to the used controller in the view and also add comp controller of our
    local comp to the used controller list of interface contrl of Used comp. And then map the data node to the node we have filled in
    the supply function.
    5. go to the wddoinit method to configure the ALV grid. means adding button and input field and binding the enable property of
    input field. Here is the code for the same.
    data lo_cmp_usage type ref to if_wd_component_usage.
      lo_cmp_usage =   wd_this->wd_cpuse_alv( ).
      if lo_cmp_usage->has_active_component( ) is initial.
        lo_cmp_usage->create_component( ).
      endif.
      DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
      lo_INTERFACECONTROLLER =   wd_this->wd_cpifc_alv( ).
        DATA lo_value TYPE ref to cl_salv_wd_config_table.
        lo_value = lo_interfacecontroller->get_model(
    lo_value->IF_SALV_WD_TABLE_SETTINGS~SET_CELL_ACTION_EVENT_ENABLED( abap_true ).
    lo_value->IF_SALV_WD_TABLE_SETTINGS~SET_READ_ONLY( ABAP_FALSE ).
    data btn type ref to cl_salv_wd_uie_button.
    data inp type ref to cl_salv_wd_uie_input_field.
    data col1 type ref to cl_salv_wd_column.
    data col type ref to cl_salv_wd_column.
    data col2 type ref to cl_salv_wd_column.
    call method lo_value->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN
    exporting
      id = 'NAME'                         "col name is NAME (col with button)
      receiving
      value = col.
    call method lo_value->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN
    exporting
      id = 'LOCATION'                "col name is LOCATION (col with input field)
      receiving
      value = col1.
    call method lo_value->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN
    exporting
      id = 'ENABLE'                   "this col is used to control the enable property of input field and we will make it invisible.
      receiving
      value = col2.
    create object btn.
    CREATE OBJECT INP
    EXPORTING
      VALUE_FIELDNAME = 'LOCATION'.
    inp->set_enabled_fieldname( 'ENABLE' ).
    COL1->SET_CELL_EDITOR( INP ).
    btn->SET_TEXT_FIELDNAME( 'NAME' ).
    col->set_cell_editor( btn ).
    col2->set_visible( '01' ).                     " making the enable col invisible
    Now you need to create one eventhanlder for the action of cell action.
    for this create an eventhandler and then even col there select ON_CELL_ACTION for the inerface cntrl of ALV.
    now write the code in this eventhandler for enabling or disabling the input field after checking the current value and
    row number from which the button was clicked. code for the same.
    DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
      lo_INTERFACECONTROLLER =   wd_this->wd_cpifc_alv( ).
        DATA lo_value TYPE ref to cl_salv_wd_config_table.
        lo_value = lo_interfacecontroller->get_model(
    data inp type ref to cl_salv_wd_uie_input_field.
    data col1 type ref to cl_salv_wd_column.
    data str type string.
    str = R_PARAM->COLUMN.
    data indx type i.
      indx = r_param->index.               " this will get the row number
      DATA lo_nd_zdealer TYPE REF TO if_wd_context_node.
      DATA lo_el_zdealer TYPE REF TO if_wd_context_element.
      DATA ls_zdealer TYPE wd_this->element_zdealer.
      DATA lv_value LIKE ls_zdealer-enable.
    * navigate from <CONTEXT> to <ZDEALER> via lead selection
      lo_nd_zdealer = wd_context->get_child_node( name = wd_this->wdctx_zdealer ).    
    lo_el_zdealer = lo_nd_zdealer->get_element( index = indx ).     " get the corresponding element.
    lo_el_zdealer->get_attribute(
        EXPORTING
          name =  `ENABLE`
      importing
          value = lv_value ).
    IF str EQ 'NAME'.
      if lv_value eq abap_true.
    lo_el_zdealer->set_attribute(
        EXPORTING
          name =  `ENABLE`
          value = abap_false ).
    else.
      lo_el_zdealer->set_attribute(
        EXPORTING
          name =  `ENABLE`
          value = abap_true ).
      endif.
    ENDIF.
    this will solve it.
    Thanks and Regards,
    Sarbjeet singh

  • How can we change the input field on a view stop showing zeros

    Hello,
           To make screen look consistent with other character input field. How can we change the input field on the view stop displaying zeros even though the data type is NUMC and data type should not be change?
    Edited by: sap_learner on Mar 25, 2010 5:44 PM
    Edited by: sap_learner on Mar 25, 2010 5:49 PM
    Edited by: sap_learner on Mar 25, 2010 5:55 PM

    hello Manas Dua,
                           Thanks for your help. I am able to resolve my problem.
    My code will help  the future comers to resolve this kind of issues.
    *The code is applied to method WDDOINIT of the default view.
      DATA lo_nd_terms_input    TYPE REF TO if_wd_context_node.
      DATA lo_nd_terms_input_i TYPE REF TO if_wd_context_node_info.
      DATA lv_zeros             TYPE wdy_attribute_format_prop.
      lv_zeros-null_as_blank = 'X'.
      lo_nd_terms_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
      lo_nd_terms_input_i = lo_nd_terms_input->get_node_info( ).
      lo_nd_terms_input_i->set_attribute_format_props(
        EXPORTING
          name              = `ENTER THE ATTRIBUTE NAME`
          format_properties = lv_zeros     ).
    Edited by: sap_learner on Mar 26, 2010 5:02 PM

  • How to validate the input field

    Hi,
    I have a input form which is draged from input port of a RFC.
    in this input form i have two input fields nad submit button.
    on of this input field should always take the character values only. it should not take any numeric value
    and other input field should always take numeric value only.
    i.e how to validate this two input fields.
    regards
    srinivas

    Hi,
    U can validate input fields using javascript.Write OnClientClick function for that submit button if ur using htmlb or onClick if u r using html.Refer the follows
    http://help.sap.com/saphelp_nw70/helpdata/en/03/900e41a346ef6fe10000000a1550b0/frameset.htm
    There are two ways to achieve ur task.
    1.By checking for all alphabets.in this u need check all the alphabetic characters one by one.Refer the following
    http://www.shiningstar.net/articles/articles/javascript/javascriptvalidations.asp?ID=ROLLA
    http://www.shiningstar.net/articles/articles/javascript/checkNumeric.asp?ID=AW
    2.By using regular expressions.its very easy and a single line code.here u need to specify single expression for whole alphabets.Refer this
    http://aspzone.com/blogs/john/articles/173.aspx
    Everything has been given for validating in javascript.i hope u also validating in javascript only.
    For more details on "Regular expressions" search google.
    Regards,
    Tamil K

  • All of the input fields in my browser, regardless of site, are very large while everything else is normal size. How do I fix this?

    All of the input fields in the browser are very large while other text is normal size. How do I fix this?
    In some cases some sites headers will run together and sometimes overlap. Other sites will just show a portion of the site in a vertical box but not the full width of the screen and I can't adjust it.

    Applications -> Utilities -> Audio MIDI Setup; select the desired output device and click on the gear icon at the bottom, select 'Play alerts and sound effects through this device'.

Maybe you are looking for

  • Soa managed server is not running after changing weblogic admin password

    hi guys.... we have oim 11g deployment on weblogic 10.3.5 ....it was working fine.... we changed the weblogic user password through admin console and changed the boot.properties file also....after that we succcessfully started the adminserver but soa

  • Vista

    Okay so Vista has been working great so far I have all my music and such I just can't seem to sync my iPod up with my iTunes. Can anyone help me? Please? I am working with Vista Basic. Thanks

  • Motion video in DVD SP

    I made a short 6 second reference movie from FCP 5 and then took it into Motion and added that glow-y box effect, from one of the templates, with some text flying in. This worked great. I saved the file as a Motion file, then brought it in to DVD SP

  • Computer reboots when i launch iTunes

    Almost every time i run iTunes (70-80%) my computer imediately reboots, just like presing the reset button. Aparently something causes a Windows Stop Error witch reboots the system to protect it. After the reboot a get a Microsoft Crash Analisys wind

  • SAP BW-Bank Analyzer

    Hello All, Could anybody let me know what is Bank Analyzer and how it is related to sap bw. I could see from the help portal that Bank Analyzer is comprised of Bank Analyzer Core+SAP BW. As a SAP BW consultant I am new to Bank Analyzer and its relati