This is a public Forum  publicRSS


    Bruno Aun
    Multi Page Form
    Topic posted May 30, 2018 by Bruno AunExplorer 
    49 Views, 7 Comments
    Multi Page Form

    Hi all

    We have a very long web form containing a bunch of fields, which is causing server time-out problems to say the least.

    I'd like to know if there's a way to build MULTI PAGE forms within the righnow framework, and if yes, how to go about it?

    Thanks is advance



    • Gursimran Singh Saini

      You'll have to do a little customisation.

      I built a similar multi-page form with a Custom Form Widget and standard/Utils/ProgressBar widget.
      The custom Form Widget used page transition with the help of URL parameters and Javascript.

    • Bruno Aun

      Hi Gursimran

      Thanks for your input, it definitely points to a direction. I will investigate the ProgressBar widget, but could you elaborate a bit more in regards to "Custom Form Widget" ? 

      Any further details are much appreciated


    • Gursimran Singh Saini

      Two widgets are required:
      - MultiPageForm Widget : built from scratch
      - MultiPageFormNavigation Widget : built from scratch

      This widget is used for navigating through the form pages.
      It has three Buttons: Back, Next, Submit
      Submit button is shown on last page of the Form

      The idea is to navigate between pages of Form with the help of URL parameters.
      Fields are shown/hidden with the help of <rn:condition url_parameter_check="page='1'"> Fields of Page #1 come here </rn:condition>
      When you navigate through pages, the form data is stored in session with the help of \RightNow\Libraries\Session::setSessionData()
      You can get/set URL parameters with the help of \RightNow\Utils\Url class

    • Bruno Aun

      Thank you so much for your detailed response, Gursiman

      Now I will go ahead and give it a shot.

      I will update the thread later on with any progress...

      Again, I really appreciate your inputs

    • Bruno Aun

      Hi Sundeep,

      Thank you for your input, it sounds very interesting.

      Is Shuttling done via widgets as well? I'd appreciate if you could elaborate a bit on how to go about it

      thank you

    • Pramod Vasudeva Murthy

      Instead of having multiple pages you can have shuttling. See a screen shot here. Basically after every 'next' or 'previous' button; you can update your details or once for all at the end. This way, all remains in one form and you will not loose the data.


    • Sundeep Mv

      Sorry, I was using other account and I forgot to switch over.

      This can be done using simple JS, there are lot of template available in forums.