Skip to content

Using Ajax Validation - onStepChanging Event #161

@yogeshkoli

Description

@yogeshkoli
onStepChanging: function(event, currentIndex, newIndex)
{
        if(currentIndex == 0)
         {
            $.post("ValidateEmail.php",{email:email},function(data, status){
                if(data == 1)
                {
                   return false;
                }
                else
                {
                   return true;
               }
           });
        }
}

When I tried this, it keeps on the same step does't go to the next step, is there any issue in my code or it does't support with ajax validation ?

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