[erlang-questions] List comprehension puzzler

Kenneth Lakin <>
Wed Sep 21 08:02:50 CEST 2016


On 09/20/2016 08:08 PM, Richard A. O'Keefe wrote:
> It's hard to believe I'm saying this, but if the HTML form is under
> your control, why not validate the ISBNs with JavaScript code in the
> form?

It's a nice way to avoid a roundtrip to signal data entry errors, but if
the data is important, you'd have to check it again on the server side
anyway. The client can always lie (or malfunction), so you can't trust
what they've sent.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160920/45e03722/attachment.bin>


More information about the erlang-questions mailing list