As a workaround, you could manually trigger the remote validation, via
$("#remotefield").valid(); the plugin caches the input's value, and
doesn't validate it again if it isn't changed.

If you have only one submit button, you could also add a hidden field
that has the name/value of the button.

Jörn

On Fri, Dec 19, 2008 at 3:01 PM, Jolle <jo...@carlestam.com> wrote:
>
> On 19 Dec, 12:14, Jolle <jo...@carlestam.com> wrote:
>> I'm using the validator plugin from bassistance.de/jquery-plugins/
>> jquery-plugin-validation/.
>>
>> Lovely and really powerful!
>> But, my server side logic require the parameters from the submit
>> button used. And it seems as if Validator doesn't include that when
>> submitting the form.
>> The param I need especially is the name of the button.
>>
>> Is this some setting I can make or does it require tweaking of the
>> Validator plugin?
>
> Doing som testing shows that it's the remote validation that trips
> Validator.
> In the form I have a field that's already populated with a value and
> that field is set to use remote validation. If the field is unchanged
> and I submit the form then the name and value for the submit button is
> not sent. If I change the value of the field before submit and thus
> trigger the remote validation then the form is submitted without
> issue.
>
> There's a test page here if anyone's interested:
> http://cojan.se/validatetest.lasso
>
> HDB
> Jolle
>
>

Reply via email to