billdvldog
Programmer
- Sep 6, 2001
- 43
I am very new to JavaScript, but know it's probably the best way to implement this requirement. The requirement is to prevent duplicate values from being entered into a number of text fields on a form and submitted. The actual number of text fields can vary depending on the number of statements in the database. What this page does is list the statements with a text box next to each statement with the order number as the value. The user can then update the order numbers and submit the form to update the database. What I'm trying to do is have a function that will prevent two statments from having the same order number on form submission.