FullscreenForm icon indicating copy to clipboard operation
FullscreenForm copied to clipboard

Is it possible to remove the dot navigation and just use back and forth?

Open ChicerMan opened this issue 10 years ago • 7 comments

ChicerMan avatar Jul 13 '15 23:07 ChicerMan

Hi, I also need a Back/ Previous button instead of navigation dot.

Harrrrry avatar Jun 07 '19 10:06 Harrrrry

@ChicerMan You get any solution????????

Harrrrry avatar Jun 07 '19 10:06 Harrrrry

i all ready put the back button on it just in case you still interested ;)

dannybombastic avatar Aug 08 '19 19:08 dannybombastic

i all ready put the back button on it just in case you still interested ;)

please @dannybombastic .

help me with the back/previous script

zolodeveloper avatar Aug 28 '19 13:08 zolodeveloper

@dannybombastic Yes please

Harrrrry avatar Sep 12 '19 06:09 Harrrrry

@Harrrrry kindly help me with the back/previous script.. I really appreciate

zolodeveloper avatar Sep 12 '19 07:09 zolodeveloper

Just add this code below to get a back btn! Use the already provided continue btn or just reverse this code to a forward btn instead! :-)

		/* 
			 New go to back btn 
			 Step 1: Add a button to the form with ID == 'backBtn'
			 Step 2: Add this code below inside the block - FForm.prototype._initEvents = function() { }
			 
		*/
		var backBtn = document.getElementById('backBtn')
		
		backBtn.addEventListener('click', function() {
			if (!self.current == 0) {
				self._nextField(self.current - 1)
			}
		});

einarberglund avatar Dec 27 '19 16:12 einarberglund