on 12-10-2007 2:57 PM
Hi all,
I have a screen.in that scrren i having some mandatory fields.when we go down and wan tot go next screen and mandatory fields are initial.then it shows eror messages.
Now my query is that i want if any error message comes out then screen will automatically scrolled top of the page.
Suggess how is it posible.
Points will be sured max.
Thanks
Sanket sethi
Hi,
set in wddomodify view an attribute wd_this->m_view = view
(add on the attributes tab in se80)
and where you raise the message, you have your attribute name and your element,
you can call the method: wd_this->m_view->request_focus( context_element = element
attribute = 'name' ).
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi sanket.......
here is the solution......
consider you are having 2 input fields one at top and the other at bottom.
you misss out to fill the top field.
so when you come down it throws an error and does not move to the next screen.
you wan to show the top of page now:
all the fields you enterd might be stored in an attribute.
so try calling the same view again or refresh it and set the attributes to the old value.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.