Hi, in situation where server-side validation is being used to check the form submission, I believe the form will still exist in the page after submitting.
I have decided to use proxomitron as a local proxy to remove client-side validation code, so that all forms will act as (a), i.e. submitted to server. Rgds boonhoo On 11/7/05, Bret Pettichord <[EMAIL PROTECTED]> wrote: > At 03:02 AM 11/4/2005, boonhoo wrote: > >Is there a way in watir to determine if after submitting a form, > >a) whether the form really make a POST and move to a new page, or > >b) the form just redisplay itself and did not get POSTed? (e.g. if > >there are incomplete fields and caught by javascript validation) > > You could check to see if the current page still contains the form after > submitting it. > > > _____________________ > Bret Pettichord > www.pettichord.com > > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
