The Wayback Machine - https://web.archive.org/web/20220426090739/https://github.com/topics/form-validation
Skip to content
#

form-validation

Here are 1,086 public repositories matching this topic...

ealush
ealush commented Mar 6, 2022

Add singular form of the following:

getErrors() -> getError()
getWarnings() -> getWarning()

The idea is to return the first error/warning of a field, instead of an array.
Unlike getErrors/getWarnings that can either take 0 or 1 arguments, getError/getWarning must receive a field name.

Function signature:

function getError(fieldName: string): string;
function getWarning(fieldNam
good first issue

BunnyJS - Lightweight native (vanilla) JavaScript (JS) and ECMAScript 6 (ES6) browser library, package of small stand-alone components without dependencies: FormData, upload, image preview, HTML5 validation, Autocomplete, Dropdown, Calendar, Datepicker, Ajax, Datatable, Pagination, URL, Template engine, Element positioning, smooth scrolling, routing, inversion of control and more. Simple syntax and architecture. Next generation jQuery and front-end framework. Documentation and examples available.

  • Updated May 18, 2019
  • JavaScript

Improve this page

Add a description, image, and links to the form-validation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the form-validation topic, visit your repo's landing page and select "manage topics."

Learn more