Gavin Cooney spoke the following wise words on 4/03/2004 7:19 PM EST:
When I insert an include by going "create include" inside a navigation item, the 
resulting page has a javascript error.
Any ideas why this is happening? I have tracked down the code in dmHeader.cfm that is 
including the javscript. Can someone tell me what it is used for?

qForms is a javascript library for form validation. You can read more at qForm's official website:
http://www.pengoworks.com/qforms


dmHeader's include variable bHasqForms is used to enable/disable outputting the html code to include the qForms js library.

dmInclude's default template ships with bHasqForms=true because dmInclude is quite often used for feedback/contact/wateva forms.

My guess is that you have probably deleted the {appname}/www/js/lib, or parts thereof, and so the second line of the JS doesn't make much sense to the browser.

I suggest you copy back the farcry_aura/www/js/lib back to your app and read up at pengoworks.com on how to use qForms. Its a cinch to use, easy to extend and Daemon's already done half the work for you.

-- tim

www.toolmantim.com

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to