Programmers to Validate Data

Existing tools require end-user programmers (EUPs) to write regular expressions ("regexps") or even scrip ts to validate textual inputs, which is slow and error-pr one. We present a new technique enabling EUPs to describ e data as a series of constrained parts. We incorpora te this technique into a prototype tool called Toped, which generates validation code for Excel and web forms. This technique enables EUPs to validate data more quickl y and accurately than with existing techniques, findi ng 90% of invalid inputs in a lab study.