Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

EpiseverForms how to override private method inside event declaration ???

Vote:
 

Hello, another problem here. I have customized EpiserverForms to open as a popup. Problem is that on "formsNavigateToStep" event window is scrolling. Responsible for that is "_scrollToTheTopOfForm();" method. Any suggestions how to override it??


#179109
May 31, 2017 13:15
Vote:
 

Unfortunately, that method _scrollToTheTopOfForm placed in $(document).ready, so it cannot be override. But looking at the content of _scrollToTheTopOfForm, you can disabled that method by removing css class .Form__Title in the FormContainerBlock.ascx which can be found on zip file of Forms module. Or you just remove that css by your js code.

Hope this help!

#179152
Jun 01, 2017 12:03
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.