thecodemine / formwizard

jQuery plugin based on top of jQuery UI which turns a form into a multistep wizard. Integrates with the jQuery form plugin for AJAX submission of the form, the validation plugin for client side validation and the BBQ plugin for enabling the browsers back and forward buttons.
140 stars 54 forks source link

There is a way to get the data string before press "submit" #39

Closed rcarrillodev closed 11 years ago

rcarrillodev commented 11 years ago

Hi! I want to ask if exists a method to get the json string before press "submit"

thecodemine commented 11 years ago

Hi,

take a look at the method http://api.jquery.com/serialize/. Note that input fields on hidden steps are disabled, so you need to enable them temporarily before calling the serialize method - otherwise they will not be serialized (only successful controls are serialized). After serializing the form inputs, remember to disable the inputs that you previously enabled temporarily.

Hope this helps.

/Jan

On 2013-05-14 04:46, rafuru wrote:

Hi! I want to ask if exists a method to get the json string before press "submit"

Reply to this email directly or view it on GitHub [1].

Links:

[1] https://github.com/thecodemine/formwizard/issues/39