davidbisset,
@davidbisset@phpc.social avatar

"What's one of the worst form validation errors you've ever seen?"

🤔

fbstj,
@fbstj@mastodon.social avatar

@davidbisset do decimal numbers work in that field....

wait, do other text: "17 years" or "17 + 3 month"

but yeah that's pretty silly validation

RupertReynolds,
@RupertReynolds@hachyderm.io avatar

@fbstj @davidbisset I was working on an internal date util that allowed "NWD", "LWDM", something that meant 'penultimate Thursday monthly' and also "Feb 31" as a shorthand for 2 days after 29th.

Very handy. But during testing I found it converted "Hello, Graham" to a date. Probably not so handy...

NormanDunbar,
@NormanDunbar@mastodon.scot avatar

@RupertReynolds
At least you tested text!

I started a new job once and was given the system, no instructions, and told to try to break it. After lunch then boss came around and asked me to stop breaking the system so well! (He was of course joking.)

I had test data where people died before they were born and other sillies. 😁

@fbstj @davidbisset

  • All
  • Subscribed
  • Moderated
  • Favorites
  • webdev
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines