Forums / Developer / Help for add new form in ezpublish system

Help for add new form in ezpublish system

Author Message

Tin Nguyen

Tuesday 09 January 2007 12:25:20 am

Hello, i am a newbie to ezPublish.

I am coding a form that collect data of user to save in database. The information are First Name, Last Name, Email. I created a table like customer (firstname, lastname, email)

I don't know how to collect form's data and save it in ezPublish.

Thanks for you help.

P/S Sorry for my poor english

Eirik Alfstad Johansen

Tuesday 16 January 2007 9:07:47 am

Hi Tin,

To create a form that collects information, create a new class. For each attribute that you want to collect information, check the "Information collector" checkbox when editing the attribute. Then, create a node from this class somewhere in the content structure, either leaving your information collecting attributes empty, or populating them with default data.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/