Hi

I've created a multistep form using regualr FAPI fields(in code).

I've added the '#limit_validation_errors' => array(), to my "previous" button.

If i do not enable clientside validation, everything works fine but when enabled it throws error.

I think that should support some kind of class so when that class is added to the button the clientside validation won't happen.

10x.

Comments

Can you try adding class="cancel" to the button

Yes, that indded worked.

But i think it will be better that we could add our own classes for buttons so that clientside validation won't apply.

But adding this class did do the trick.

10x!

Status:Active» Fixed

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.