Help for this page

Select Code to Download


  1. or download this
    <form name="someForm" method="post" action="/some_form.do">
    ...
    ...
    <input type="checkbox" name="dayOfWeek" value="SAT"  >Sat
    ...
    </form>
    
  2. or download this
      dayOfWeek=<UNDEF>              (checkbox) [*<UNDEF>/off|SUN/Sun]
      dayOfWeek=<UNDEF>              (checkbox) [*<UNDEF>/off|MON/Mon]
    ...
      dayOfWeek=<UNDEF>              (checkbox) [*<UNDEF>/off|THU/Thurs]
      dayOfWeek=<UNDEF>              (checkbox) [*<UNDEF>/off|FRI/Fri]
      dayOfWeek=<UNDEF>              (checkbox) [*<UNDEF>/off|SAT/Sat  ]
    
  3. or download this
    |SUN
    (checkbox)dayOfWeek> [] tick dayOfWeek SUN
    Illegal value 'tick dayOfWeek SUN' for field 'dayOfWeek' at /usr/lib/p
    +erl5/site_perl/5.8.0/WWW/Mechanize/FormFiller.pm line 124
    
  4. or download this
    |SUN
    (checkbox)dayOfWeek> [] tick 
    Illegal value 'tick' for field 'dayOfWeek' at /usr/lib/perl5/site_perl
    +/5.8.0/WWW/Mechanize/FormFiller.pm line 124
    
  5. or download this
    |SUN
    (checkbox)dayOfWeek> [] tick SUN on
    Illegal value 'tick SUN on' for field 'dayOfWeek' at /usr/lib/perl5/si
    +te_perl/5.8.0/WWW/Mechanize/FormFiller.pm line 124
    
  6. or download this
      $formfiller->add_filler( 'dayOfWeek' => Fixed => '' );
      $formfiller->add_filler( 'dayOfWeek' => Fixed => '' );
    ...
      $formfiller->add_filler( 'dayOfWeek' => Fixed => '' );
      $formfiller->add_filler( 'dayOfWeek' => Fixed => '' );
      $formfiller->add_filler( 'dayOfWeek' => Fixed => '' );
    
  7. or download this
    tick
    
    ...
      untick NAME VALUE(s)
    
    If no value is given, all marks are removed.
    
  8. or download this
    ... &dayOfWeek=SUN&dayOfWeek=MON& ...
    
  9. or download this
    #!/usr/bin/perl
    
    ...
    $formfiller->fill_form($agent->current_form);
    
    $agent->click('');
    
  10. or download this
    $ ./try.pl 
    Illegal value 'SUN' for field 'dayOfWeek' at /usr/lib/perl5/site_perl/
    +5.8.0/WWW/Mechanize/FormFiller.pm line 124
    
  11. or download this
    $formfiller->add_filler( 'dayOfWeek' => 'SUN' => 'on' );
    
  12. or download this
    $ ./try.pl 
    Can't locate WWW/Mechanize/FormFiller/Value/SUN.pm in @INC (@INC conta
    +ins:
    ...
            WWW::Mechanize::FormFiller::load_value_class('SUN') called at 
    +/usr/lib/perl5/site_perl/5.8.0/WWW/Mechanize/FormFiller.pm line 65
            WWW::Mechanize::FormFiller::add_filler('WWW::Mechanize::FormFi
    +ller=HASH(0x995ebdc)','dayOfWeek','SUN','on')
     called at ./try.pl line 30