Step Creating the GameNomad Contact Form

The contact form provides your user with a simple way to contact you, while ensuring they provide all of the information you require to ensure a timely and accurate response. For instance, if you were building a website which managed magazine subscriptions, you might want users to include the subscription number found on the magazine label when contacting you for support. A contact form can force the user to include this, thereby saving the hassle of your support team to otherwise ask for it if the user contacted you directly via e-mail.

The GameNomad contact form (http://www.gamenomad.com/about/contact) is less rigid in its requirements, asking the user to include only his name and e-mail address along with the message. An additional feature is included allowing the user to CC his e-mail address on the message should he desire a record of the communication. Figure 7-1 presents the contact form.

Figure 7-1. The GameNomad contact form

In this initial step we'll just post back the form contents in order to get familiar with the Zend Framework's form parameter retrieval syntax. The view used to display the user's input and accompanying form is presented next:

0 0

Post a comment

  • Receive news updates via email from this site