"Contact us" form problem

Author Message

Joan Massey Figols

Sunday 31 October 2004 11:04:54 am

Hi,
I have some problems with a contact us form.
The problem is that I want to change the flow of the form that usually EZ do, my idea is:
1.- user fills the fields.
2.- we validate the user data, if there is any error we show a warning message.
3.- (if no validate errors) we show all the data that users has put in the fields, and we give two options: "edit data" (so here is the first question <b> how can I fill the fields of the form with the user data?</b>), "send message".(<b>second problem: send a mail with the data and store it to a databse</b>)

So as you can see my problem is how to "refill" the form fields when user click the "edit data" button and then how to send the e-mail.

I'm working with EZ classes instead of make a simple form with javascript, perhaps is better to do a simple form?

This is my first "project" with EZ so I apologize if somebody thinks that this question is very simple, but I have been looking forums, documentation... and I didn't have any answer.

Thanks for your help.

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