Menu icon Foundation
How to validate modals (AJAX) with Data Abide

Hi there, I'm having big trouble to achieve this.

I want to validate fields that are on a modal form via AJAX. This means, I need to validate fields before refreshing the page.

How can I use Abide Validation to do it? Actually I have:

{'data-abide' => 'ajax' }, id: "tagform", :remote => true do |f| %>


"[a-zA-Z]+" ,html_input: "required", input_html: {class: 'marca ipt'} %>


abidevalidationsformsdata-abidemodalAJAX

Hi there, I'm having big trouble to achieve this.

I want to validate fields that are on a modal form via AJAX. This means, I need to validate fields before refreshing the page.

How can I use Abide Validation to do it? Actually I have:

{'data-abide' => 'ajax' }, id: "tagform", :remote => true do |f| %>


"[a-zA-Z]+" ,html_input: "required", input_html: {class: 'marca ipt'} %>