jFormer Documentation → Form Features →
The page navigator is easy to use and implement. With robust options so that you may present it in a manner that fits your needs.
There are two options available for the page navigator :
these options go inside of an array that is set by pageNavigator, alternatively you can just set pageNavigator to true and all options will be set to default
Turn on the Page Navigator with position set to top:
pageNavigator = array( 'position'=> 'top' );
false
boolean | If set to true, or given an option array, will show the Page Navigator
top
string | accepts a string for the position of the Navigator. value can be set to 'top' or 'right'
title
string | The label type of the navigator, or how it displays each each values can be:
Next Page: Splash Page
This page was last edited on April 25, 2011 at 1:56pm.
5 comments (add a comment)
HelpNeeded on 2012-02-27 19:48:22
Has anyone tried this and does it work?
Francesco on 2012-03-08 05:01:57
Tried it, blank page ;/ I also tried the other one from the demos section but am getting a
Call to a member function setData() on a non-object
error. Any help?
rfmines on 2012-03-13 20:17:55
yes it works
Mike Lerley on 2012-05-03 14:00:06
I found the setData error --
Line 765 in JFormer.js is:
formPage = this.formPages[jFormPageId];
It should read:
formPage = this.jFormPages[jFormPageId];
Mike Lerley on 2012-05-03 14:12:57
Also, a similar error starting on line 850:
if(self.currentFormPage.options.onScrollTo.onAfter) {
self.currentFormPage.options.onScrollTo.onAfter();
}
should read:
if(self.currentJFormPage.options.onScrollTo.onAfter) {
self.currentJFormPage.options.onScrollTo.onAfter();
}