Best way to set up multiple web form objects...

Author Message

Andrew K

Tuesday 03 April 2007 1:53:57 pm

I see a need growing with the site I'm working with for end users to create their own web forms for different things. I don't want them going in to create a new class every time they need a new form. Is there a way to make a web form class where a user chooses the fields and the notification email address they want?

I really don't want to have to make a new class every time they need a new form, nor do I want may class list to be filled with classes that are only used once.

Thanks.

--Andrew

André R.

Tuesday 03 April 2007 2:10:07 pm

Hi, there are two ways to solve this.
1. create some general forms for them that fit 99% of their needs.
Like some 'attend event form' where they can fill out the type of event, name , description, receiver and time. (email_receiver is the attribute that can be used as receiver)

2. Create a class group called Forms and let them create form classes there.
Then use a general form template that loops true the attributes and displays the information_collectors, this one overrides on the class group.
Note 1: class_group_override needs to be enabled in ini settings
Note 2: there is a bug that was fixed in 3.9.2 and 3.8.8 when using node_view_gui together with class_group overrides

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Karl Latiss

Wednesday 04 April 2007 4:49:50 am

Have a look at Form Builder from designIT (http://ez.no/products/partner_products/form_builder). It makes it <b>very</b> easy to set up and manage forms.

Atvert Systems
http://www.atvert.com.au

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.