Ok that's interesting, but then won't the user get back an error message
saying:
Please fill in TextInput1?

If the name of the form field is fname20...I don't necessarily want the
user to see :Please fill in fname20. 
I'd prefer them to see :Please provide a name.

How would you do that...for say 5 fields?

-Gel


-----Original Message-----
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] 


To give you an idea how easy qForms is to implement, here's the entire
block of code needed to reproduce your example template:

<script language="JavaScript" src="/lib/qforms.js"></script> <script
language="JavaScript"> <!--// qFormAPI.setLibraryPath("/lib/");
qFormAPI.include("*");

// load this function during the body "onload" event
function init(){
        oForm = new qForm("myForm");
        // require the following fields
        
oForm.required("textInput1,textInput2,mySelectInput,sex,myTextarea");
        // make sure the textInput2 field contains at least 10
characters
        oForm.textInput2.validateLengthGT(9);
}
//-->
</script>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to