This is the blog of Adam Kalsey. Unusual depth and complexity. Rich, full body with a hint of nutty earthiness.

Form validation tools

In the Simplified Form Errors comments, J. Shell mentions the use of a form validation toolkit.

I’ve evaluated a number of form kits and validators over the years for PHP, Java, ASP, and Perl. They all have fallen short of my expectations and the needs of real-world development. Some of them have faulty validation — letting things through that shouldn’t be or disallowing valid input. Others aren’t flexible enough to allow non-standard inputs. Sometimes I need a rather custom validation like 32 characters, numbers and lowercase letters only, no spaces. And many packages won’t let you inject your own error messages into the error output. For example, just because a username validates doesn’t mean someone can register it. There may already be someone using that name, so I’d need to insert an error that the user needs to pick a different name.

I’d certainly be open to a good form validator, either commercial or open source. Since I’ve recently been doing most of my development in PHP, a PHP form toolkit would be most useful. Any suggestions?

Recently Written

Your OKR Cascade is Breaking Your Strategy
Aug 1: Most companies cascade OKRs down their org chart thinking it creates alignment. Instead, it fragments strategy and marginalizes supporting teams. Here's what works better than the waterfall approach.
Your Prioritization Problem Is a Strategy Problem
Jul 23: Most teams struggle with prioritization because they're trying to optimize for everything at once. The real problem isn't having too many options—it's not having a clear strategy to choose between them. Without strategy, every decision feels equally important. With strategy, most decisions become obvious.
Behind schedule
Jul 21: Your team is 6 weeks late and still missing features. The solution isn't working harder—it's accepting that your deadlines were fake all along. Ship what you have. Cut ruthlessly. Stop letting "one more day" turn into one more month.
VC’s Future Lies In Building Winners
Jun 21: AI and megafunds are about to kill the traditional venture model, forcing smaller VCs to stop hunting for hidden gems and start rolling up their sleeves to fix broken companies instead.
Should individual people have OKRs?
May 14: A good OKR describes and measures an outcome, but it can be challenging to create an outcome-focused OKR for an individual.
10 OKR traps and how to avoid them
May 8: I’ve helped lots of teams implement OKRs or fix a broken OKR process. Here are the 10 most common problems I see, and what to do instead.
AI is Smart, But Wisdom Requires Judgement
May 3: AI can process data at lightning speed, but wisdom comes from human judgment—picking the best imperfect option when facts alone don’t point the way.
Decoding Product Leadership Titles
Mar 18: Not all product leadership titles mean what they sound like. ‘Head of Product’ can mean anything from a senior PM to a true VP. Here’s how to tell the difference.

Older...

What I'm Reading