Questions tagged [abide]

Abide is the form validation library built into Zurb Foundation

Abide is a form validation library that extends the HTML5 validation API with custom validators.

35 questions
1
vote
0 answers

Foundation abide. Validation does not occur with blank values on required field

I have this: You need to enter a surname If I put a value in there, and…
GeoSword
  • 234
  • 1
  • 13
1
vote
1 answer

Foundation Abide matching line breaks

I am trying to use foundation abide to make error when my form is submitted. I cannot grasp how to allow any character to pass (limited 2000) and allow line breaks: My code trainerDescription : /^.{0,1999}$/,
Jhubbert
  • 35
  • 7
1
vote
1 answer

Foundation Abide Customer Validator Spam Protection

Is it possible to use Foundation's Abide Validation as a spam preventative? I'd like to ask a simple question at the end of my form, i.e. 'What is 2+2?'. The answer must be 4 to submit the form. Something like this:
tone4407
  • 89
  • 1
  • 1
  • 8
1
vote
3 answers

Manually triggered Abide validation in Zurb Foundation

I'm trying to make myself a form, but I need to prevent some UX stuff depending on if a form was entered correctly. Is there an api for manually issuing the validation routine to a form's field? I know that I could listen to the post-validation…
Athan Clark
  • 3,886
  • 2
  • 21
  • 39
1
vote
0 answers

Foundation Abide validation throws an error even if card number is valid

I am implementing Foundation Abide in the following: http://alessandrosantese.com/abide/index3.html, however even if the card number is correct (tested with my Visa) it still throws an error when you click on submit. This happens if you type the…
Aessandro
  • 5,517
  • 21
  • 66
  • 139
1
vote
0 answers

Foundation Abide validation with jQuery.payment library

I have the following script which works ok: http://jsfiddle.net/asWeb/cxk47qen/2/ if I click on submit when the form is empty I get the correct error messages if I type a correct card number (tested with a valid one) and then I click on submit…
Aessandro
  • 5,517
  • 21
  • 66
  • 139
1
vote
1 answer

Foundation Abide Validation Custom CSS

I use Foundation Abide-Validation and I want to develop something like this: I already made a jQuery for the condition but I don't know how to build the CSS part (the green radio buttons and red letter, and so on). Anyone can help me? Thank you.
1
vote
1 answer

Foundation Abide in CakePHP

Creating a form in cakephp so it works with Foundation abide. I need the echoed form HTML in CakePHP to add data-abide to the attribute form without class or div. I have no idea how I'm meant to do this google and the Docs on…
DuzAwe
  • 43
  • 7
1
vote
2 answers

Zurb Foundation Abide and AngularJS initialization

I am using both AngularJS and Zurb Foundation.To initialize Foundation you have to make the following call: $(document).foundation() But, when you load a new view using angularjs foundation js is not working anymore and you need to re-initialize…
0
votes
1 answer

js Foundation Abide input form error remains visible after button clicked

I'm using Foundation Abide for an input form validation, specifically I want to check, that the value in the field is non-negative and non-empty, therefore I'm using the following Validator: function minZeroValidator($el, required, parent) { …
LaLeLo
  • 137
  • 1
  • 9
0
votes
1 answer

Problem with viewing string output in Google Colab

I was supposed to obtain an output like this when i run the command 'print(abide.description)' But the output I am obtaining is something like this. The entire string is shown in a single line which is making it quite difficult to read and…
0
votes
1 answer

Why doesn't abide show the error message for the email input?

I built a simple contact form using foundation and its abide plugin. It's basically working, except one thing: The validation for the email input field. If I submit the form without entering any data, abide shows both validation error messages…
Kurztipp
  • 391
  • 2
  • 18
0
votes
1 answer

Foundation 6 Abide - How to implement formnovalidate

I have a form that is using Abide. The form has two buttons, both are type="submit" but one has the formnovalidate attribute set. This button is for "previous step" as it takes whatever the user has filled in and submits the form, taking the user to…
Cream Whipped Airplane
  • 1,305
  • 3
  • 13
  • 31
0
votes
1 answer

Validation when only spaces inserted - Foundation Abide

I`m a beginner in Foundation. I just got a task to fix issues in a form created with Foundation. And its validation is done with Foundation Abide. The issue is, in the HTML i can see "required" is added, and when we add only spaces in input field,…
Vineeth Vijayan
  • 1,215
  • 1
  • 21
  • 33
0
votes
1 answer

foundation 6 abide validation textarea unicode

Is it possible to validate unicode text input with Foundation6 Abide? I am already using the following custom pattern Foundation.Abide.defaults.patterns['alpha_numeric_spaces'] = /^[\w\-\s]+$/;
Isidoros
  • 1
  • 1