Forum

Thread tagged as: Question, Forms

Confirm email on form

Hi, I need to create a second input form to "confirm email"

It's there any way on Perch to make it work?

<div class="element-wrapper">
        <label>
            <div><perch:input type="email" id="input-email" class="required" placeholder="E-mail" label="email" required="true" /></div>
            <perch:error for="input-email" type="required">
                <p class="form-error">Por favor dinos tu correo electrónico</p>
            </perch:error>
        </label>
    </div>
Raul Serrano

Raul Serrano 0 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, you can write a form validator to do that: https://docs.grabaperch.com/api/validators/

Thanks!