checbox problem

B

Bond

How to select checkbox form perl with www::mechanize, what value is for
true?
I tray with OK, true, Yes, Selected, and get that is false value for button.

<form action="/pc/index.pl" method="post" name="payment" id="payment">
<input class="loginTextBox" type="checkbox" id="ok" name="user_agreed" />
<label for="ok">I agree</span></label>

Help me to solve this problem.

Thanks
 
M

Mumia W.

How to select checkbox form perl with www::mechanize, what value is for
true?
I tray with OK, true, Yes, Selected, and get that is false value for button.

<form action="/pc/index.pl" method="post" name="payment" id="payment">
<input class="loginTextBox" type="checkbox" id="ok" name="user_agreed" />
<label for="ok">I agree</span></label>

Help me to solve this problem.

Thanks

The documentation for WWW::Mechanize says to use the 'tick' method. If
you installed the module using ActiveState, the documentation for that
module should be in the ActiveState help menu system.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top