#Can any one please tell me the issue what i am facing and how to do this
14 messages · Page 1 of 1 (latest)
ok i am doing add user form validation of phone . If phone number is already use then write in the below of the phone input that your phone is already in use
stack : angular js and next js, mysql
@devout sierra
like this email
@devout sierra
https://angular.dev/guide/forms/form-validation#creating-asynchronous-validators
Essentially the validator does an api call to verify the entered phone number
@devout sierra add friend via discord ?
no
@devout sierra the problem is that tha api i calling and show 400 bad request error whats the issue is this issue from frontend or backend?
no idea. are you querying the api for the phone number? that might mean it doesn't exist, and you can use that. try a query on a number you know exists
u can add me as a friend and i can help if u r still facing issues
ib @stoic ridge
Brother this error occurred when user already exists in database
i want when user phone nmber already exists then simple show phone already exists how to do this