From: Glen Holcomb Date: 2008-03-22T03:06:00+09:00 Subject: Mechanize confusion ------=_Part_1719_24659259.1206122765610 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I will admit I've never used Mechanize before and if I am asking painfully obvious feel free to push me out in traffic, however... I have an odd issue. I have grabbed a form off of CDW's site and am trying to fill out the proper info. The form shows the select list I want "_ct19" but when I try to manipulate it mechanize acts like it doesn't exist Here is the form: # #, @selected=true, @text="Select Brand", @value="">, #, @selected=false, @text="Brady Industries", @value="7633">, #, @selected=false, @text="Brother International", @value="5074">, . . . Options redacted for sanity's sake. . . #, @selected=false, @text="Xerox Printers", @value="6177">, #, @selected=false, @text="Zebra Technologies", @value="6186">], @value=[]> # #} {radiobuttons} {checkboxes} {file_uploads} {buttons}> => nil irb(main):050:0> When I try to get details on either _ct19 or _VIEWSTATE I get an empty array back: toner_form.fields.name('_ct19') => [] toner_form.fields.name('_VIEWSTATE') => [] However with _ctl12 and _ctl15 everything appears to be happy: toner_form.fields.name('_ctl15') => [#] toner_form.fields.name('_ctl12') => [#] Does anyone have any idea how I can get to the select field I need? -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_1719_24659259.1206122765610--