« Return to Thread: extending formtool field
Array is a complex formtool. At least as much happens in the validate function as in the edit function. It works out like that whenever there needs to be processing in order to put the submitted data in the database. Others like it are file, image, datetime. You may need to override validate as well if you're adding a render type and want t.
Most formtools are much more straightforward, the submitted data simply gets inserted into the database.
BlairOn Wed, Jun 24, 2009 at 12:34 PM, AJ Mercer <ajmercer@...> wrote:
is it possible to extend formtool field types?
I want to create my own HTML for edit,
so extended array.cfc
and added my own case for my display HTML
The display part worked, but got errors on save.
I had ripped out everything except edit()
I have now put back in the other functions and it is now working.
The only mod being the returnType of init()
Is there a nicer / easier way to use your ourn HTML in a formtool edit form?
I was thinking along the lines of webskins like used in other parts of Farcry.
--
AJ Mercer
Web Log: http://webonix.net
« Return to Thread: extending formtool field
| Free embeddable forum powered by Nabble | Forum Help |