Sorry - thought I replied to all. Why doesn't reply to direct traffic
back to the list?
In any case, Todd W wrote:
Call the action method of the form object and pass in the desired URL:
$agent->form_name( $fName )->action( $action );
# -or-
$agent->current_form->action( $action );
This will set the forms action to the desired URL.
This works perfectly! Thanks.
Peter
Andy Lester wrote:
On Mon, Dec 06, 2004 at 06:35:48PM +0100, Peter Stevens ([EMAIL PROTECTED]) wrote:
Looking at the form, I find the routine below to validate the password
and determine where the form should be POSTed to. I can figure out what
the action URL should be. But I do tell Mechanize where it should post to?
Whatever answer you get, please let me know what you find, so I can put
it in the FAQ, but it's a very F-ly AQ.
xoxo,
Andy