Skip to content

Releases: Octagon-simon/octaValidate

octaValidate V1.1.2

11 Jun 04:55
246d6ee
Compare
Choose a tag to compare
  • A bug was addressed in this patch. See issue #6
  • Users are allowed to provide additional strict words
//my function instance
const formVal = new octaValidate('form_register', 
{successBorder : true, strictMode : true, strictWords : ["error", "false", "invalid"]});
  • Core validation methods are now private and read-only

octaValidate V1.1.1

23 May 17:04
Compare
Choose a tag to compare

This release validates all form inputs with an id attached to them and has the attributes;

  • octavalidate
  • length
  • maxlength
  • minlength

octaValidate V1.1.0

21 May 18:01
Compare
Choose a tag to compare

We restructured the script to make it easy to validate and store form validations using OOP Approach.

Here are some of the methods included in this release;

  • validate()
  • status()
  • customRule()
  • moreCustomRules()
  • validateCallBack()
  • version()

Open the README File to read more about this release.

octaValidate V1.0.4

28 Apr 23:24
Compare
Choose a tag to compare
  • We fixed a bug in v1.0.3 Issue #4
  • We replaced the event listener to listen for change event instead of focusout
  • We fixed the regular expression for validating usernames

octaValidate V1.0.3

04 Apr 21:57
Compare
Choose a tag to compare
  • We added support for Custom Validation Messages
  • We added validation support for checkboxes
  • You can now check if two inputs contain the same values, using the attribute equalto on the input element, with a value containing the ID of the other input element to check against.
  • We fixed a bug in v1.0.2 Issue #3
  • We added a feature to process validation rules when the element contains a value. This however will not work on the Required Rule ( R )

octaValidate V1.0.2

16 Jan 00:25
Compare
Choose a tag to compare
  • We have added validation support for input lengths.

This means that you can use octaValidate to validate: maxlength, minlength and length

  • maxlength(5) - Value must be up to 5 characters or less

  • minlength(5) - Value must be up to 5 characters or more

  • length(5) - Value must be equal to 5 characters

  • You may use octaValidate on multiple forms present on a particular page without having them conflict with each other (issue Form Conflicts #1)

  • We replaced the inbuilt email regular expression because it doesn't validate up to 37 characters. (issue octavalidate freezes form page #2)

  • Core files have been grouped into a src folder.

  • Error Class is now toggled properly and will not clear the input classList.

Full Changelog: https://github.com/Octagon-simon/octaValidate/commits/v1.0.2

octaValidate V1.0.0

14 Jan 02:53
Compare
Choose a tag to compare
  • There're 13 inbuilt validation rules
  • Ability to validate all forms on the page as soon as the function is called ( this can cause an issue with forms that you don't wish to be validated yet )
  • Ability to add custom validation rules