Skip to Content
ContentAPIInterfacesInterface: ValidationUtils

Hero Hook Form API v2.5.1


Hero Hook Form API / ValidationUtils

Interface: ValidationUtils

Defined in: types.ts:340 

Properties

createMinLengthSchema()

createMinLengthSchema: (min, fieldName) => ZodString

Defined in: types.ts:341 

Parameters

min

number

fieldName

string

Returns

ZodString


createMaxLengthSchema()

createMaxLengthSchema: (max, fieldName) => ZodString

Defined in: types.ts:345 

Parameters

max

number

fieldName

string

Returns

ZodString


createEmailSchema()

createEmailSchema: () => ZodString

Defined in: types.ts:349 

Returns

ZodString


createRequiredSchema()

createRequiredSchema: (fieldName) => ZodString

Defined in: types.ts:350 

Parameters

fieldName

string

Returns

ZodString


createUrlSchema()

createUrlSchema: () => ZodString

Defined in: types.ts:351 

Returns

ZodString


createPhoneSchema()

createPhoneSchema: () => ZodString

Defined in: types.ts:352 

Returns

ZodString