Okay, made some changes to the qForms call -

<script type="text/javascript">
        
objForm = new qForm("catrequest");

// set the path to the qForms directory
objForm.setLibraryPath("/includes/qforms/lib/qforms/");
// this loads all the default libraries
objForm.include("*");

objForm.catalogtype.description = " catalog type";
objForm.fldComments.description = " general comment";
objForm.catalogtype.validateAtLeastOne("fldComments");

objForm.required("txtFirstName,txtLastName,txtCompany,txtEmail,txtAddress,txtCity,txtState,txtZip,txtCountry,txtPhone");
objForm.txtFirstName.description = " First Name";
objForm.txtLastName.description = " Last Name";
objForm.txtCompany.description = " Company Name";
objForm.txtEmail.description = " email address";
objForm.txtAddress.description = " mailing address";
objForm.txtCity.description = " City";
objForm.txtState.description = " State (or Province)";
objForm.txtZip.description = " Zip or Postal Code";
objForm.txtCountry.description = " country";
objForm.txtPhone.description = " phone number";


objForm.txtFirstName.focus();
</script>

Now in the JS Error console I get: "objForm.setLibraryPath is not a function"

??

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300658
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to