Re: Form not being submitted
Graeme J Sweeney <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 28 Mar 2006, [email protected] wrote: > website, I have to click through a series of forms and on the last form > when I try and submit the form, nothing seems to happen and I get no > errors either. The following is a snippet showing the <FORM> tag, and Is the response returned just the same as prior to submitting the form? <snip/> > function validateEmail() { > var emailValue = > document.forms[0].EMAIL_ADDRESS_ENTERED.value > flag = checkMultipleEmail(emailValue) What about checkMultipleEmail ? What's in there? > I am not clicking the Cancel button. I have tried using form.submit(), > form.submitNoButtons(). I have even tried button.click() on the submit > button. Nothing seems to work. I suspect this has to do with the > javascript onsubmit function but I am not sure. Strange, rhino usually throws the most unhelpful of errors .... As an after thought - have you actually checked to see if the alert box is present? WebClient.popNextAltert() ?? -- Graeme - Outlook Express user? - http://home.in.tum.de/~jain/software/oe-quotefix/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642