Archive for July, 2009

JavaScript validation of dynamically added form fields

Sunday, July 5th, 2009

This article describes how to use JavaScript and the Prototype library to validate form fields that can be dynamically added at runtime. For example, let’s say that we have a table and the user can insert one or many new rows. Each row might contain multiple input text fields, which must be validated upon form submission.
(more…)