Screen Refresh

rss

Posted by Katerina - Oct 27 ’14 at 05:46

Hi Dmitry,

 

I have a small issue with SP Forms. When you close down a form and then return back it opens to the point you were before you closed it down. Can this be changed to go back to the starting point of the form (i.e. to the top of the form)?

 

Thanks

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 9 years 8 months 16 days
    #1 by Dmitry Kozlov Oct 28 ’14 at 04:05

    Hi Katerina,

    This is the common behavior of most browsers: when you click Back the scroll position will be the same as it was when you left the page. So, if you need to open the form from the initial position, please, use SharePoint navigation controls e.g. ribbon buttons, contextual menu etc.

  • Katerina
    Member
    Member for: 9 years 1 month 8 days
    #2 by Katerina Oct 29 ’14 at 12:39

    Hi Dmitry,

     

    This happens even if you use SharePoint navigation controls.

    Is there any feature that needs anabling on the forms?

     

    Thanks

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 9 years 8 months 16 days
    #3 by Dmitry Kozlov Oct 29 ’14 at 01:38

    [#2]: What do you mean when you say "the point you were before"? Is it the scroll position, the selected tab, or the selected accrodion section? Could provide the screenshots?

  • Katerina
    Member
    Member for: 9 years 1 month 8 days
    #4 by Katerina Oct 30 ’14 at 04:20

    Hi Dmitry,

     

    I mean accordion section, tab etc on the form. For example you open a form a clicked a specific tab/accordion section and then click close. When you go back later the form it will open to the same tab/accordion you left it when you last went in. Is like the form is not refreshing.

     

    Thanks

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 9 years 8 months 16 days
    #5 by Dmitry Kozlov Oct 31 ’14 at 03:28

    [#4]: Hi Katerina,

    Thanks for the additional information. Now, I see. You just need to clear formsdesigner_last_url cookie before closing the form. Please, put the following code into JS-editor of Forms Designer:

    fd.cancel().click(function() {
    	$.cookie('formsdesigner_last_url', null);
    })
    
    fd.onsubmit(function() {
    	$.cookie('formsdesigner_last_url', null);
    	return true;
    });
    
  • Katerina
    Member
    Member for: 9 years 1 month 8 days
    #6 by Katerina Nov 4 ’14 at 03:19

    Thanks, that worked!

  • Дмитрий Фоломеев
    Дмитрий Фоломеев
    Member
    Member for: 8 years 6 months 12 days
    #7 by Дмитрий Фоломеев Dec 2 ’14 at 05:26

    [#5]: Yes, it works for only for buttons designer. How to do clear cookies if the user click cancellation window?

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 9 years 8 months 16 days
    #8 by Dmitry Kozlov Dec 8 ’14 at 10:28

    [#7]: Hi Dmitry,

    You can clear cookies when a user leaves a form by using the code below:

    $(window).unload(function() {
      $.cookie('formsdesigner_last_url', null);
    });
    
  • devstringx
    devstringx
    Member
    Member for: 11 months 4 days
    #9 by devstringx Jul 4 ’22 at 05:05

    Devstringx Technologies has become one of the top custom software development company in India, the USA, and DE. The continuous and accumulated efforts of the members and team managed to bring the company to the heights of success. Over the years, Devstringx Technologies is indulged in providing IT-related services like mobile app development services, Product development, Software testing, Test Automations, etc. Devstringx has always considered customer satisfaction as its priority. This feature helped us to maintain purer relationships with our clients. Hundreds of clients have chosen and recommended Devstringx for executing fine-quality projects for various multinational brands and companies. The highly committed and devoted personnel of Devstringx Technologies has always played their responsibilities with utmost determination. For access to our services or to know more about Devstingx Technologies, kindly visit our website.

  • jonemartin
    Member
    Member for: 10 months 23 days
    #10 by jonemartin Aug 4 ’22 at 09:22

    After using the screen for a long time, we should restart the scress by using this tips and tricks.

     

    We are the lock the master and provide reliable Locksmith Services In Hollywood CA to you.

     

Displaying 1 to 10 of 15 messages
Previous12