find_all_inputs is documented to work on the current form.
It wasn't hard to find methods that set the current form: form_number, form_name and form_with_fields.
Note that form_name returns a form, while find_all_inputs needs to be called on a Mechanize object.
$mech->form_name('account'); my @c_inputs = $mech->find_all_inputs();
Untested. Just going by the docs.
In reply to Re: WWW::Mechanize and forms
by ikegami
in thread WWW::Mechanize and forms
by scoobyrico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |