Forum

Thread tagged as: Question, Members, Shop

Perch Members Email Exists

Hello All

i have a paswordless checkout form with

action="/shop/checkout/confirmation"

so people submit the data and move on

but by doing this you miss the warning if a email exists

i could use ajax with a submit button then a next button but this would be adding a click

are there any other solutions

like

<?php if member_email_exists() {

    echo 'Email Exists';

} else {

    Redirect to this page

} ?>
Anthony Elleray

Anthony Elleray 2 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Instead of

action="/shop/checkout/confirmation"

use

next="/shop/checkout/confirmation"

Thanks

Never knew about that function :)