Todd A. Jacobs
10/30/2007 8:47:00 PM
On Tue, Oct 30, 2007 at 12:00:03PM -0700, Todd A. Jacobs wrote:
> mechanize. I've tried a couple of work-arounds, but field_add! doesn't
> seem to support adding check boxes or file upload fields (is there
I've managed to add the fields explicitly:
carbon = WWW::Mechanize::RadioButton.new('SEEKER_CC', nil, true, reply_form)
upload_field = WWW::Mechanize::FileUpload.new('RESUME_FILE', 'foo')
reply_form.checkboxes.push(carbon)
reply_form.file_uploads.push(upload_field)
but this seems kind of kludgy. I'm still looking for a better way.
--
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"