I want to put several forms generated with Rails simple_form on a one page, and operate on them with javascript. However simple_form generated same ids for respective inputs in
You're almost there.
The trick is in specifying the :input_html.
:input_html
<%= f.input :id, :as => :hidden, :input_html => { :value => @question.id, :id => "question_id_1" } %>