1.  Actually you add it to the formtool.  So in this case, in your 
cfproperty tag for "account" you will want to specify ftType="string".  Then 
you will want to extend the string formtool.  You would create a formtools 
folder in your project's packages folder.  Then create a file called 
string.cfc, extending farcry.core.packages.formtools.string.  You would add 
your ftWatch functionality, as shown in the example (though don't use the 
javascript in the example as the Ext stuff has been removed in favor of 
jQuery), and be sure to call super.edit() so that core's string.cfc edit 
method is called.

2. The formtool form will call it when the field is drawn on the form.  By 
overriding the edit method above, you can add your own javascript 
functionality that reacts when the form changes.

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to