Skip to content

Check if form is valid #54

Description

@Isigar

Hello, thanks for lib otherwise I have a little problem to solve. I want to show loading after valid submit action how can I do that is there option to check if a form is validly filled up?
I want to something like this but now its always show loading even if form is not valid and live validation add errors to form inputs.

Thanks for response.

$('button[type="submit"]').on('click',function (e) {
                    if($(this).data('loading')){
                        if($(this).data('loading') == 'LOADING_FULL'){
                            $("#full_loader").show();
                        }
                    }
                });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Triage: Now

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions