Parent Directory | Revision Log
Initial revision
1 | dpavlin | 1.1 | <SCRIPT language="javascript"> |
2 | function Validation() { | ||
3 | |||
4 | var txt = ''; | ||
5 | |||
6 | if (document.forms[0].c_type_description.value == '') { | ||
7 | txt += '- description is mandatory\n'; | ||
8 | } | ||
9 | |||
10 | if (txt == '') { | ||
11 | return true; | ||
12 | } else { | ||
13 | alert (txt); | ||
14 | return false; | ||
15 | } | ||
16 | } // End of validation | ||
17 | </SCRIPT> |
ViewVC Help | |
Powered by ViewVC 1.1.26 |