Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-08-2010, 11:21 PM   #4 (permalink)
svveet
Registered Member
 
Join Date: Jun 2009
Location: Australia
Posts: 180
svveet is on a distinguished road
Default

I have same question on this too, but i couldnt get it to submit the form

Code:
<form name="form2" method="post" action="/webtix/welcome/welcome.do">

<input type="text" name="cardNum" id="serial" size="25" maxlength="24"/></td>
<input name="pass" type="password" id="passwd" size="25" maxlength="24"/></td>
<input class="go_btn" type="submit" value="Login" id="gobtn2" onclick="return validate(this.form);" />

</form>
Code:
NSURL* url = [NSURL URLWithString:@".../webtix/welcome/welcome.do"];
ASIFormDataRequest* request = [ASIFormDataRequest requestWithURL: url];
[request setPostValue:@"01234" forKey:@"cardNum"];
[request setPostValue:@"01234" forKey:@"pass"];
[request setDelegate: self];
[request startAsynchronous];
I still cant get data from login page...can anyone tell me what is wrong with my code?
svveet is offline   Reply With Quote
 

» Advertisements
» Online Users: 433
14 members and 419 guests
antonwilliams, dobry, Domele, EvilElf, Gaz, hrushikeshaddon, iconomania, ipodphone, jaychoupham, linkmx, raymng, santicarlo, Techknol, TunaNugget
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,589
Threads: 94,083
Posts: 402,775
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Techknol
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:53 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.