on 2008 Sep 30 2:19 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anubhav,
First of all, Thanks a lot. Solved my problem.
One more question is :
I have more that 5 input fields, so I didnt want to alert the user each time there is a change in the input field. So I have kept a flag for all the change that is happening. Now, I have to alert the user when he is trying to go out the page.
Any suggestions?
Regards,
Shiny
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.