codrops / FullscreenForm

An experimental fullscreen form concept where the idea is to allow distraction-free form filling with some fancy animations when moving between form fields.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ChicerMan opened this issue · comments

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

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

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

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

please @dannybombastic .

help me with the back/previous script

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

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)
			}
		});