title: Capybara - Fill in form element within form using arguments
body: <p>Im trying to fill in a field via its name. Because there are two fields with the same name in 2 different forms I can't just use fill_in on its own as there is an ambiguous match.</p>
  
  <p>Im trying to do something like below, but obviously the within doesnt look by name, so it cannot find the form.</p>
  
  <pre><code>When(/^I type "(.*?)" into the "(.*?)" textbox in the "(.*?)" form$/) do |textboxValue, textboxName, textboxForm|
      within(:name, textboxForm) do
        fill_in textboxName, :with =&gt; textboxValue
      end
  end
  </code></pre>
  
  <p>texboxForm - Name of the form the element is within
  textboxName - Name of the textbox
  textboxValue - The value I want to fill the textbox with</p>
  
  <p>Any ideas?
  Thanks</p>