Skip to Content

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

Capture the value entered in Input field .

Hi,

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?

Regards,

Shiny

replied

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" />
      </bsp:findAndReplace>

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

Regards,

Anubhav.

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