[jQuery] remote validation (Validation)

[jQuery] remote validation (Validation)


Hi:
I have a warranty registration form where I am using validate.js to
validate the inputs.Everything works fine except that I have a serial
number field where I use the remote validation function.
One weird thing I have noticed is that if I put the remote call in the
rules section, the remote works fine the first time but then it keeps
using the initial value of the field even when that value has been
changed. When I call the remote in the field itself by using
class="required serial_num" remote="filename.php" everything is just
fine.
My problem is that I would like to be able to check the value of
another field (a drop down that lists the different type of products)
at the same time as the serial number -- that is using one ajax call
--- and I am not quite sure how to do it.
I had a little bit of success calling it in the rule section using the
data: "field1=" + $("#field1").val() + "field2=" + $("#field2").val
() but again with the same problem that value of the fields didn't
update when the user changed their value.
Does any one know how to change those parameters(of the data that's
passed to the remote) in the field itself or how to make it so that
the value updates when the user updates that page?
thanks, Dan