Validating the value od an user input.

Issues related to forms.
Post Reply
Rongnongno
 
 
Posts: 7
Joined: Tue Aug 30, 2022 5:13 am

Validating the value od an user input.

Post by Rongnongno »

My intent:

Control that someone real is using my contact form by asking to type a value my choosing

Question, what is the minimal value of C Knowing the B = 2A and C=A+B
The answer is 3.

The value to check is the answer 3.

If the answer is correct, the send button becomes visible, if not an error message is displayed.

Thank you for your help.
MGD4me
 
 
Posts: 278
Joined: Tue May 02, 2017 11:56 pm
Location: British Columbia, Canada

Re: Validating the value od an user input.

Post by MGD4me »

Just to let you that the validation method you seek, is considered "old technology" these days, and is easy for robots to figure out.

Have a look at the reCAPTCHA feature, instead.
Rongnongno
 
 
Posts: 7
Joined: Tue Aug 30, 2022 5:13 am

Re: Validating the value od an user input.

Post by Rongnongno »

So, how did you do it?
Post Reply