title: Client side validation in bootstrap modal
body: <p>I have client side validation,but some why it doesnt works in twitter bootstrap modal window. If i put my form just somewhere else then modal, then it works like a charm. Is there something i've missed?</p>
  
  <p>Here is my form code</p>
  
  <pre><code>&lt;div id="myModal" class="modal hide fade invite-modal" data-backdrop="true"&gt;
            &lt;%= simple_form_for User.new, url: :invite_teacher_organizations, validate: true do |f| %&gt;
            &lt;%= f.input :full_name,  required:true, validate: { :presence =&gt; true, :message =&gt; "Name cant be blank" }, placehold: "John Doe" %&gt;
          &lt;%= f.input :email, required: true, validate: { presence: true}%&gt;
          &lt;%= f.submit 'Send Invite', class: 'btn-primary' %&gt;
          &lt;% end %&gt;
    &lt;/div&gt;
  </code></pre>