Input

Valid Text No Link

Rule `valid_text_no_link`: Rejects links in text content.

Usage

Use for plain text fields.

$schema = \Lemonade\Framework\Validation\ValidationSchema::create()
    ->field('field', 'Field')
        ->textNoLink()
        ->end();

$result = $validator->validate($payload, $schema);

Stable rule name

valid_text_no_link for translations, registry lookup and per-rule messages.

Group

Security / Content