[jQuery] WORK IDEA

[jQuery] WORK IDEA

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>WORK IDEA</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Possibly a good use of JQuery or AJAX or other?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Ok, I have a 16 part form, is it done. It DOES include client-side javascript.</FONT>
<BR><FONT SIZE=2 FACE="Arial">As an example:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">    if (!reNum.test(val)) {</FONT>
<BR><FONT SIZE=2 FACE="Arial">    alert("The value " + fld.value + " is not a valid number or currency for " + fld.name +".");</FONT>
<BR>        <FONT SIZE=2 FACE="Arial">fld.focus();</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Now, this does tend to give a semi-good idea of *where* the error occured.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">The powers that be, would like a database table lookup, based on the input / element name (for example: nbc1t is a fld.name), to display a more user-friendly error message.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">When going to the data / recordSet, nbc1t would be changed to "# Years appointed row 1" or whatever as an example.</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Now I have a choice where I *could* load all the variables in the page from the database on page load and fill in where needed throughout the forms!</FONT></P>
<P><FONT SIZE=2 FACE="Arial">--OR--</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Could I do a database lookup using AJAX and/or JQUERY where the database is queried only *IF* needed?</FONT>
</P>
<FONT SIZE=3><BR>
<BR>
*************************************************************************<BR>
This communication, including attachments, is<BR>
for the exclusive use of addressee and may contain proprietary,<BR>
confidential and/or privileged information. If you are not the intended<BR>
recipient, any use, copying, disclosure, dissemination or distribution is<BR>
strictly prohibited. If you are not the intended recipient, please notify<BR>
the sender immediately by return e-mail, delete this communication and<BR>
destroy all copies.<BR>
*************************************************************************<BR>
</FONT>
</BODY>
</HTML>_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/