Hello,

When using libwww-perl HTTP::Form object, it could be for managing
automatically forms using programs. A problem appears when using forms which
are handled by JavaScript code to enable or disable some inputs, especially
when the input are disabled by default. Currently using parse method for that
removes all possibilities to use disabled input which are automatically
instancied as "IgnoreInput" objects by the method push_input.

A solution consists of disabling the given line in the method push_input, or by
adding maybe an argument to the creation of the HTML::Form object to allow
keeping disabled input.

I use libwww-perl 5.69, but this is the same for 5.76 too.

I propose to simply remove this line from the method :
    $class = "IgnoreInput" if exists $attr->{disabled};

Regards,
Francois.

Reply via email to