Unfortunately the ft:object tag won't help you here, as they're basically there to help build on the COAPI types.
But you can directly access the formtools at application.formtools.xyz.oFactory.edit() and just build up the required metadata structs manually. You will still need to add the HTML layout structure yourself, e.g. the label's fieldset's. A couple of points: - The formtool type and the validation types are added as classes to one of those elements (I can't remember which one), which is the most complicated that gets. - Some formtools (like datetime) do server side processing in validate() - mostly where there is more than one input that needs to be combined, but also for stuff like file uploads. Hope that helps. Blair On Fri, Feb 26, 2010 at 6:58 AM, Jake Churchill <[email protected]>wrote: > I'm looking for an example of formtools other than the standard object > scaffolding COAPI examples that are out there. > > I want to build an interface or type that allows users to create their own > forms and store their own data. The simplest way I can explain it is they > will create a new form, then they will create form fields that will get > attached to the form. So, a contact form would be created and fields might > be name, email, phone, comment. Since I don't know that up front I can't > use the COAPI approach. It'd be nice if I could but I don't see any way to > make that happen. The closest thing I can find is that idlForm plugin that > was created back when Farcry 4 first came out but that doesn't do anything > with saving data. > > Any help or pointers would be great. > > Thanks! > > -Jake Churchill > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: > [email protected]<farcry-dev%[email protected]> > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry -- 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
