Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Capture the value entered in Input field .


I have a BSP application embedded in a PCUI application. In the BSP, i have many input fields.

When I edit the input field, the value is not gettng captured unless I hit the <enter> key.

User is not aware of this, so it is not user friendly too.

Is there any way that I can capture whether the input field is edited or not?

Please note the layout is designed using the tag <htmlb>.

Any suggestions?



Former Member

Hi Shiny

With the following code it is possible to call the different events that are available

in HTML for a HTMLB inputField.

<bsp:findAndReplace find    = "<input"
                          replace = "<input onChange >
        <htmlb:inputField id        = "t2"
                          value     = " "
                          alignment = "left" />

You can capture the value of input field onChange or onBlur events...using JS.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question