Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
tevyt1167yyou're making the assumption that the validation is only on the client side. All client side code runs on your machine technically you can always modify it
-
@DefiniteGoose Good practice is having both. Clientside so they get immediate feedback and don't spam you with invalid requests and server side for bastards like us who use the F12 key.
-
Help the company and set it to zero. Write a blog and let more people buy from them. The company will earn more.
You will be a hero then
Might win an oscar .....Nobel prize for economics -
On one site the credit card expiration dates was a select that went only up to 2020 and my card expires in 2021 so I added that option to the select, but then I thought if this will succeed will I trust that site with my credit card? Ended up ordering by phone (which is even less secure...)
-
ganey957y@Godisalie f12 is great for finding browser saved passwords, just change the input type to anything else, mash the keyboard or something and it defaults to text. It's way easier then heading over to chrome://settings/passwords and putting in the OS password..
-
@Noob I'm everything but creative and this is the best my 13 year old me could come up with.
-
M0dev1037yI don't see an issue here as long as the request gets rejected - as a backend guy I love to see some people doing basic validation. Preventing a lot of calls resulting in a 400 and also improving the UX.
-
AllenII16197y@DefiniteGoose in their defense, it's possiblevthat they use both. Client side validation for quick user prompts and the like; server side validation for actual validation
-
hitzoR2637y@TrojanMorse What is so bad on HTML tables? If you use them properly, it is best choice. And forms are one of the good use-cases.
-
@Artemix what if I use div and spans ? Anyway I have to use CSS to style it.
It's not like using JSON against array. You can create table with divs and spans
Well the only benefit I can see, is visual separation in markup or search engine optimization -
Inigo3767ySo what's the follow up? Did it let you place the order with PayPal? Did the coffee arrive?
When your coffee supplier won't let you order < 5. Client side validation wins again.
undefined