---
layout: ../../layouts/PageLayout.astro
title: Cross-Field Validation
description: Validating input values depending on other inputs' values
order: 4
---

import LiveExample from '@/components/LiveExample.vue';

# Cross-Field Validation

This example shows how to create a password-confirmation-like rules using either `yup` or global validators.

<LiveExample client:visible id="vee-validate-v4-cross-field-validation" />
