We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

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

  • 8 months 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!