Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
b-pagis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
b-pagis
5y ago
From my experience it serves very well for validating inputs of large forms - e.g. loan application, international payments, etc. If you need to validate some business logic like if sender's account has funds and receiver's accoun
2.
▲
by
b-pagis
5y ago
Such simple approach is limited only to errors without arguments. For more complex use cases, where we would want an error message to indicate that field value was too long and in addition provide maximum field length, we would need to intr