title: Using Foundation Data Abide Validations in Modal (AJAX) doesn't Validate. `
body: <p>I can't get Data Abide to validate my fields in a modal (Foundation 5, Simple Form, Ruby on Rails).</p>
  
  <p>Anyone know how to validate fields in a modal with AJAX using data-abide from Foundation?</p>
  
  <pre><code>&lt;%= simple_form_for [current_user, @photo, @tag], id: "tagform", :remote =&gt; true do |f| %&gt;
      &lt;div class="center semi_padding new_tag_form"&gt;
        &lt;%= f.input :name , label: "Marca: ", :required =&gt; "[a-zA-Z]+" ,input_html: {class: 'marca ipt'} %&gt;
        &lt;%= f.input :location, label: "¿Donde lo encontraste?" , input_html: {class: 'ipt'} %&gt;
        &lt;%= f.input :price, label: "¿Cuanto te costó?" , input_html: {class: 'ipt'} %&gt;
        &lt;%= f.input :coordinate_x , as: :hidden %&gt;
        &lt;%= f.input :coordinate_y , as: :hidden %&gt;
        &lt;%= f.button :button, "Taggear", type: "button", id:"tp_tag_save", input_html: {class: 'btn-ok icon-favorite-1 button'} %&gt;
        &lt;%= f.button :button, "Cancelar", name: "Cancel", id: "tp_tag_cancel", input_html: {class: 'icon-cancel button'} %&gt;
      &lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>