Skip to Content
author's profile photo Former Member
Former Member

SubmitOnEnter in InputField

Hi,

I am setting the SUBMITONENTER to TRUE for 2 inputfields. I am not being able to catch the enter event in onInputProcessing(). I also want to check in onInputProcessing() on which inputfield the user has pressed enter. Has anyone done this already?

Regards

Tejaswini

Message was edited by: Tejaswini Das

Message was edited by: Tejaswini Das

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Jan 11, 2005 at 10:28 AM

    Hi Tejaswini,

    please have a look at application SBSPEXT_HTMLB page InputField.bsp. In OnInputProcessing you have a reference to CL_HTMLB_INPUTFIELD of the event. So you can get every attribute of the input field via

    inputfield_event->attribute

    where attribute is one of the attibutes of CL_HTMLB_INPUTFIELD.

    Regards,

    Rainer

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2005 at 11:09 PM

    Hi,

    I want to understand what you are trying to? You want to capture the value when the Inputfield is changed and use it to do some operation?

    Is that right?If it is you need to do some Javascript programming to handle this?

    Please let me know if you nees some code!!!

    Thank you

    arun

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 25, 2005 at 06:43 AM

    Hi Tejaswini

    i did the same like this and its returning the name of the input field where we are pressing submit button.

    case htmlb_event_ex->event_id.

    when 'input1'.

    if htmlb_event_ex->EVENT_SERVER_NAME = 'submitonenter'.

    me->input2 = 'hello'.

    endif.

    htmlb_event_ex->event_id is returning the input field id.

    Regards

    Naresh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 25, 2005 at 05:35 PM

    Hi,

    I am setting the one maincontroller and two subcontroller.

    First controller has build up tableview. ok. selectionmode is singleselect.. when am going to click the radiobutton in maincontroller table view..next opend the first subcontroller..ok..Here is i put one more subcontroller.ie..click the 'open' button..next open the one more subcotroller..ok..First subcontroller is working fine.. but second subcotroller is not working...pls..any one help me..

    Regards

    sg.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.