I have two fields startX and width. i want to put javascript validation on submit of the form.
width field must be less than startX field. how can i do it using validWhen or any other option? I don't want to write javascript funtion in
jsp for the same.