HTML::Form -- override select options?

HTML::Form -- override select options?

am 12.06.2005 23:19:17 von jik

Greetings,

I'm working on using WWW::Mechanize to step through an application's
pages to do some testing. The application utilizes JavaScript to
dynamically set some field values, including sometimes setting the
field to a value that isn't listed as one of its

Re: HTML::Form -- override select options?

am 02.08.2005 15:28:06 von jik

--7t+atCfJI2
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

As promised (see attached message), here's a patch to HTML::Form to
allow the user to add a valid option to a tag '$tag'") if $^W;
@@ -399,6 +388,35 @@
}


+=item $form->add_option($select_attr, $option_attr, $text)
+
+This method adds an