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.

Blair

On Wed, Jun 24, 2009 at 12:34 PM, AJ Mercer <[email protected]> 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
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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