Git Product home page Git Product logo

Comments (3)

einarberglund avatar einarberglund commented on July 2, 2024 1

Just add this code below to get a prev btn! :-)

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

from fullscreenform.

captainscorch avatar captainscorch commented on July 2, 2024

@einarberglund Thank you for providing this solution, I gave it a try but as soon as I go back within the form the survey breaks and in the console it shows several errors too. Does that happen for you to or is it working fine?

from fullscreenform.

einarberglund avatar einarberglund commented on July 2, 2024

@captainscorch No worries, I do not get any errors at all! I have however modified the Form quite a lot!

from fullscreenform.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.