top of page

5 YEARS AGO

Asynchronious input validator

At the moment the input validator callback does not handle asynchronous function https://www.wix.com/corvid/reference/$w/textinput/oncustomvalidation

 

Let say you have a registration form and you want to validate an email input by checking if the email is already used or not. It's extremely complex to implement such a feature at the moment.

 

There are many use case where the validation relies on some kind of asynchronous code.

 

I would like that if validator callback returns a promise the input is disabled when the promise is pending. If the promise rejects the validation state is false and error is the reason. If the promise is resolve the validation state is true

Pending

Feature

1 Votes

Top Requests

  • Lorem Ipsum.

  • Lorem Ipsum.

  • Lorem Ipsum.

  • Lorem Ipsum.

Log  in to your Wix account to leave a comment

Thanks for posting! Your comment will be shown once it’s reviewed.

Comments

Add your comments and suggestions here.

Post Comment

User Name

Created Date

Comment Content

User Name

Created Date

Comment Content

Latest Velo Features

Wix Editor Elements ($w): Multi-State Box API

Create a multistate of an object with the dedicated API.

NOV 13 2019

Wix Editor Elements ($w): Multi-State Box API

Create a multistate of an object with the dedicated API.

NOV 13 2019

Wix Editor Elements ($w): Multi-State Box API

Create a multistate of an object with the dedicated API.

NOV 13 2019

Request a Feature

Have an idea for Velo’s next best feature? We want to hear it.

This website was designed with Velo by Wix

bottom of page