Questions tagged [form-verification]

8 questions
12
votes
1 answer

How to verify form input using HTML5 input verification

I have tried finding a full list of patterns to use for verifying input via HTML5 form verification for various types, specifically url, email, tel and such, but I couldn't find any. Currently, the built-in versions of these input verifications are…
Joeytje50
  • 18,636
  • 15
  • 63
  • 95
2
votes
0 answers

How to disable anchor element when firebase OTP is wrong

I just added firebase OTP authentication and once the code is verified and the user clicks to verify the link is meant to direct the user to another page only if the code is correct but I'm trying to make the link disabled if the OTP is wrong and…
1
vote
0 answers

How can I verify that POSTed photos were created with my web app?

I've created a web application that lets users create cool Avatars of themselves. I want users to be able to share their created Avatars to be displayed on our "Recent Creations" page. What I am worried about though is that if I accept POST…
CodyBugstein
  • 21,984
  • 61
  • 207
  • 363
1
vote
1 answer

Form validation rule does not render custom message

I am using Yii2 ActiveForm to make a default templated registration form. In the form the user must specify a signup key in order to complete the registration. The signup key must have a length between 6 and 10 characters. I have deleted all other…
BajaBob
  • 2,643
  • 3
  • 24
  • 26
1
vote
2 answers

How to use FormValidation in a dynamic form?

I have a form with dynamic number of input fields: the user can add new items and when he's finished he can send the form. The form uses FormValidation (formValidation.io) to check content before sending, to make it easier to fill in all the right…
0
votes
1 answer

Registration form fields reset after submit (wordpress & woocommerce)

I've got woocommerce registration form with two sections: - One for private person, - the other for company. In company option there is two additional fields. I can switch between private and company by radio buttons and then I see relevant…
Pat
  • 697
  • 3
  • 11
  • 30
0
votes
4 answers

How to run HTML5 form verification when using JavaScript submit() function?

When having an input such as this:
It should only be able to submit when the field is filled in. This works when I use a submit button like this:
markasoftware
  • 12,292
  • 8
  • 41
  • 69
0
votes
2 answers

Does PHP 5.x mail() verify validity of domains in"reply-to" fields?

I've recently been "prettifying" some tried and true email forms to make them more mobile friendly, and thought I was going out of my mind seeing the PHP mail() function now randomly failing (and returning FALSE). Well it wasn't random. After nearly…
Randy
  • 301
  • 2
  • 11