On 9/24/07, <b class="gmail_sendername">Shane Witbeck</b> &lt;<a href="mailto:shane@digitalsanctum.com">shane@digitalsanctum.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What&#39;s the best way to select a form on a page with Mechanize if the<br>form doesn&#39;t have the &quot;name&quot; attribute? I&#39;m already familiar with the<br>page.form(&#39;myformname&#39;) syntax but this doesn&#39;t? work with forms that
<br>have no names.</blockquote><div><br>You can try selecting the form based on its location - like page.forms.first maybe...<br>Try <a href="http://www.makuchaku.info/blog/mechanizing-orkut">http://www.makuchaku.info/blog/mechanizing-orkut
</a><br><br>I hope it helps :)<br><br>--<br>Maku<br></div><br></div>