As Anoop mentioned: Put a class="cancel" on the back button.

Jörn

On Wed, Aug 19, 2009 at 3:18 PM, Tokasa<toka...@gmail.com> wrote:
>
> ...forgot to explain details...
>
> there are two submit buttons ... back and continue
>
> back button should not validate, just submits back (it is part of a
> wizard)
>
> continue button should validate and submit.
>
> ....
> if you click on back button in FF with firebug you get field validated
> and an error mentioned above.
>
>
>
> On Aug 19, 3:13 pm, Tokasa <toka...@gmail.com> wrote:
>> Hi Jörn and Anoop,
>> thanks for your reply to my question...I have made a clear example.
>> Please have a look over here...
>>
>> http://www.tokasa.cz/temp/example.html
>>
>> Please tell me what is missing or is wrong, because I dont see it :)
>>
>> Thanks
>> Tomas
>>
>> On Aug 19, 1:50 pm, Jörn Zaefferer <joern.zaeffe...@googlemail.com>
>> wrote:
>>
>> > Then your code isn't the same. Go back to the example and look at
>> > where the validator-variable is defined.
>>
>> > If that doesn't work out, post a testpage, or at least your full code.
>>
>> > Jörn
>>
>> > On Wed, Aug 19, 2009 at 11:51 AM, Tokasa<toka...@gmail.com> wrote:
>>
>> > > Hi,
>> > > anybody have experience with this validation plugin?
>> > >http://jquery.bassistance.de/validate/demo/errorcontainer-demo.html
>>
>> > > I need to know how to specify corectly the resetForm() function.
>>
>> > > Simply I need to have submit button to continue (which validates
>> > > before) AND I need to have second submit button which which will go
>> > > step back in my wizard and WILL NOT validate.
>>
>> > > on the link above, in that example it works nicely...but in my
>> > > settings does not.. I have also tried their jquery library etc... but
>> > > did not helped.
>>
>> > > My code is ...the same as in link above..
>>
>> > > $("#PreviousBtn").click(function() {
>> > >   validator.resetForm();
>> > > });
>>
>> > > but firebugs tells me...
>> > > validator is not defined
>> > > validator.resetForm(); \n
>>
>> > > Thanks
>> > > Tomas

Reply via email to