[Webtest] form submission / empty values / javascript client-side
validation
Marc Guillemot
webtest@lists.canoo.com
Tue, 12 Jul 2005 13:31:42 +0200
Hi,
can you provide a minimal sample code?
Marc.
Ian Pojman wrote:
> I'm trying to verify some client-side validation in webtest, and I'm
> having a problem I can't quite seem to figure out how to track down.
>
> I have a sign up page with a birth year. there is client-side
> validation that is triggered when the user tries to submit the form,
> that redirects to a 'under13.html' page if the form data isn't
> correct.
>
> the button is an <input type=image /> and I believe the form
> validation is in the form tag as an onsubmit.
>
> What happens is it tries to submit the form to the current page
> instead of redirecting via javascript to my error page, or something
> along those lines - and it submits to the current page with none of
> the form attributes (request parameters empty).
>
> what can I check to see what is going on? is this an html unit issue?
> I hope the above is somewhat clear... I'm not sure myself what is
> going on. and turning on http wire debugging is overwhelming....
>
> ian
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>