Coder Social home page Coder Social logo

slideform's Introduction

slideform's People

Contributors

asmerkin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

slideform's Issues

Submitting form to Server & then Showing last slide for successful message

I was trying implement this with server-side form submission. Whenever I submit the form my page refreshes cause of default behaviour of browser. How to prevent that so that I can show last slide as successful submission of form.

Im using the same code snippet as mentioned in example demo.
That is:

index.html

custom.js
var $slideForm = $('#dataForm');
$('#dataForm').slideform({
submit: function(event, form) {
$slideForm.submit(); //not sure whether I need this or not, if this is enable it goes into loop
$slideForm.trigger('goForward');
}
});

jquery.slideform.js
$form.on('submit',function ( event ) {
if ( $options.submit ) {
event.preventDefault();
$options.submit (event, $form);
}
});

Thanks in advance

Limit amount of checkboxes

Hey how do we limit the amount of checkboxes that can be checked, is it doable on the $form.slideform({
validate: {} section ?

[feat. suggestion] Adding / Removing slides

Hello,

I have a use case where I need to add and remove slides. This is why I would like to suggest that feature.

While the feature does not land, how can I trigger the re-render of the progress bar and internal counting of the plugin?

Multiple Forms in same page? Not Working

Here is the scenario..
I am using 5 forms in a single page, where forms are being loaded within Bootstrap Modal. Which means, the contents on the forms are within the modal body. It should work in theory, but not in practical. I have also tried loading the forms using AJAX in bootstrap's show.bs.modal event, without success.

IMHO, if the form doesn't support multiple forms in a page, it should have an option to destory the form instance so that we initiate it again.

Thanks

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.