Skip to content

In each step disable (block) next button until all field are filled correctly. #64

@meysam-n

Description

@meysam-n

Hello,
In the first place i would like to thanks the author(s) of this form.

I would like to have a form in which In each step disable (block) next button until all field are filled correctly.

Actually, i have 4 steps. i give every of them a new

and use the following code which is not seems to be correct and not working properly.

$('.next').click(function(){
$(' # stp1 input').each(function() {
if(!$(this).val()){
$("#invalid").show();
$('.next').off('click');
return false;
}
});
})

Could you plase help me in this regard.
Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions