[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Help with cPAMIE

romo20350

1/21/2008 4:09:00 PM

Hi, I'm in need of help with cPAMIE. I'm currently trying to submit
this form on a webpage:

<form action="" method="post">
<fieldset>
<legend>Submit Coupon</legend>
<label for="coupon_code">Coupon Code:</label><br />
<input type="text" name="coupon_code" id="coupon_code" value=""><br />
<input type="text" name="security_code" value="" /><br />
<input type="hidden" name="action" value="submit">
<button type="submit">Submit Coupon</button>
</fieldset>
</form>

I can fill in the textboxes alright but I'm having trouble submitting
it. I've tried using:
ie.buttonClick('action') but It returns some thing about it being
hidden...
Ive also tried:
ie.buttonClick('Submit Coupon') but it says it can't find the string
anywhere...
Any help would be greatly appreciated! Thank you so much!
1 Answer

romo20350

1/21/2008 9:22:00 PM

0

On Jan 21, 11:09 am, romo20...@gmail.com wrote:
> Hi, I'm in need of help with cPAMIE. I'm currently trying to submit
> this form on a webpage:
>
> <form action="" method="post">
> <fieldset>
> <legend>Submit Coupon</legend>
> <label for="coupon_code">Coupon Code:</label><br />
> <input type="text" name="coupon_code" id="coupon_code" value=""><br />
> <input type="text" name="security_code" value="" /><br />
> <input type="hidden" name="action" value="submit">
> <button type="submit">Submit Coupon</button>
> </fieldset>
> </form>
>
> I can fill in the textboxes alright but I'm having trouble submitting
> it. I've tried using:
> ie.buttonClick('action') but It returns some thing about it being
> hidden...
> Ive also tried:
> ie.buttonClick('Submit Coupon') but it says it can't find the string
> anywhere...
> Any help would be greatly appreciated! Thank you so much!

Okay I kinda figured it out...I'm now trying to use formSubmit but it
seems that the form has no name its just blank. So i tried
ie.formSubmit("") but it didn't work. I'm a beginner so I really need
some help :) Thanks!