All pastes #115188 Raw Edit

pilgrim

public php v1 · immutable
·published 2006-08-04 12:34 UTC
rendered paste body
<?php$form = new Form;// Votre message$section = $form->addSection('Votre message', 'message');$section->addField('Sujet', 'subject', 'text');$section->addField('Message', 'body', 'textarea');// Coordonnées$section = $form->addSection('Vos coordonnées', 'coordonnees');$section->addField('Nom', 'first_name', 'text');$section->addField('Prénom', 'last_name', 'text');$section->addField('Adresse', 'address', 'textarea');$section->addField('Code postal', 'zip_code', 'text');$section->addField('Ville', 'city', 'text');$section->addField('Pays', 'country', 'text');$section->addField('Téléphone', 'phone_number', 'text');$section->addField('Fax', 'fax', 'text');$section->addField('Adresse email', 'email', 'text');$form->render();?>