Validation is used to check data to make sure it fits whatever required specifications are set for it.
-1
votes
0answers
38 views
Why does my validation not work on all PC browsers? [closed]
The validation code below works 100% on all MAC browsers. But on all PC browsers the validation is ignored. After the user submits the form the email is validated and returns a thank you message. Is ...
2
votes
1answer
52 views
My login with AJAX and PHP
In your opinion, do I need to do all these validations. I thought to do well and stay safe but I seriously raises the question if it isn't slower.
jQuery code
$(document).ready(function () {
...
1
vote
1answer
50 views
Refactor function that returns a comma Operator to pass jsHint
Some background
This functions does some business logic before submitting a "add to cart" form
HTML
<form class="atcLoginRequired" method="get" action="/somePage">
<input type="hidden" ...
2
votes
1answer
115 views
How to properly store error messages and display them with OOP?
I have a class that I am using to initialize a form for editing. Once the form is submitted, data validation is done through the setters of my class. Good or bad input will be set in order to ...
1
vote
0answers
82 views
Data model with validation in haskell couple convoluted functions
So I'm curious about a few things that I did here design wise, as well as one space I'm sure I can be given improvements from real haskellers.
The part I really think can be done better that I'm ...