in reply to Re: WWW:Mechanize (input not in form) problem
in thread WWW:Mechanize (input not in form) problem

i still can't understand what is the problem. this is my html form code and i don't see anything "funny"
<form method="POST" enctype="application/x-www-form-urlencoded" action +="myplace.pl"> <div align="right"> <div align="left"> Welcome to "Your Place"! </div> <br> <font size="2" color="red"><b><TMPL_VAR NAME="error_msg"></b></font> <br> <input type="text" name="username_entered" value=""><br>username<br> <input type="password" name="password_entered" value=""><br>password<b +r><br> <font size="1"> remember me &gt;</font><input type="checkbox" name="_c +heckcookie" value=""> <input type="submit" name="login" value="Log in"> </div> </form>
can you figure out what is wrong!?

Antonis!

Replies are listed 'Best First'.
•Re: Re: Re: WWW:Mechanize (input not in form) problem
by merlyn (Sage) on May 07, 2003 at 15:17 UTC
Re: Re: Re: WWW:Mechanize (input not in form) problem
by hardburn (Abbot) on May 07, 2003 at 15:20 UTC

    Adding to merlyn's reply, try running the complete page through an HTML validator, which should be able to tell you where the exact error is at.

    ----
    I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
    -- Schemer

    Note: All code is untested, unless otherwise stated

      As far as an HTML validator, take a look at HTML::Lint, also written by the same briiiiiiiilliant programmer who did WWW::Mechanize.

      xoxo,
      Andy