Formify Docs

Contains Lowercase

Require at least one lowercase letter in a value.

Contains Lowercase

Requires that a value contains at least one lowercase letter.

Configuration

Config flagTypeDescription
containsLowercasebooleanWhen true, requires at least one lowercase letter.

With useForm

const form = useForm({
  initialValues: { token: '' },
  validationSchema: {
    token: { containsLowercase: true },
  },
});

With the V builder

import { V } from 'formify-js';

V.containsLowercase();

Default message

ScenarioMessage
No lowercase letter presentMust contain a lowercase letter

Examples

ValueResult
'Pass'✅ Valid
'PASS'❌ Invalid
'123'❌ Invalid

Things to know

  • This checks presence — at least one lowercase letter anywhere in the value.
  • The lowercase validator is the stricter sibling: it requires every letter to be lowercase.

On this page