Hello all.

I'm downloading a web page that contains a form with NSURLConnection. The form 
contains a few fields that I can fill with values. 
Here is the form part:

<form id="loginform" action="/openid/loginsubmit" method="post" 
style="position:relative; style="position:relative;"">
        <h2>Sign In</h2>
        <div class="block-content">
                <p>
                        <label for="first_name">First Name:</label>
                        <input type="text" size="25" name="first_name" 
id="first_name" value=""/>
                </p>
                <p>
                        <label for="last_name">Last Name:</label>
                        <input type="text" size="25" name="last_name" 
id="last_name" value=""/>
                </p>
                <!--
                        <p>
                                <input type="text" size="25" name="username" 
id="username" value=""/>
                        </p>
                -->
                <p>
                        <label for="password">Password:</label>
                        <input type="password" size="16" name="password" 
id="password"/>
                </p>
                <p class="resetpass"><a 
href="https://somewebsite.com/account/request.php?lang=en";>Forgot your login 
information?</a>
                </p>
      </div>
        <div class="clearfix" style="padding-left:38%">
                <button type="submit" name="Submit" class="css_button_hot 
btn_large primary">Login</button>
        </div>
        <input type="hidden" name="return_to" value="https://somewebsite.com/"/>
        <input type="hidden" name="previous_language" value="en_US"/>
        <input type="hidden" name="language" value="en_US"/>
</form>

Now, how would I submit it back to the server?

Thanks in advance for any pointer, info or help!

-Laurent.
-- 
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://www.nemesys-soft.com/
Logiciels Nemesys Software                                      
laur...@nemesys-soft.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to