/flex-form-hook-helpers

Some helpers for flex-form-hook

Primary LanguageJavaScript

API

Table of Contents

isRequired

This function check if a value exist or not.

Parameters

  • message string (optional, default 'Field is required.')

Returns Function returns another function which check if the value exists.

isEmail

This function check if an email is correct or not.

Parameters

  • message string (optional, default 'Email is not valid.')

Returns Function returns another function which check if email is correct.