cancel
Showing results for 
Search instead for 
Did you mean: 

Scroll to Error message

Former Member
0 Kudos

Hi,

My form has many fields. When I get an error I want the screen to set focus to top of page. I even have message area at the top. but the focus is not going to top of the page.

I tried below methods.

1)Created an event(setFocus) in compcontroller and calling this from a method(focustop) in comp controller. When I get an error I am calling focustop method .

2) I tried the same but this time create an event and method in interface controller.

both are not working. not sure how to proceed. any thoughts?

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Self Resolved