Location: PHPKode > scripts > PHP and AJAX Slim Contact Form > slim-contact-form/views/form.html.php
<form method="post" action="<?php echo url_for('post'); ?>" name="quick-contact" id="quick-contact">
<p<?php if( isset($errors['name']) ){echo ' class="error"';}; ?>>
<label for="name">* Your Name</label>
<input name="name" type="text" id="name" size="30" value="<?php if( isset($values['name']) ){echo $values['name'];}; ?>" />
<?php if( isset($errors['name']) ){echo '<span class="error">' . $errors['name'] . '</span>';}; ?>

<p<?php if( isset($errors['email']) ){echo ' class="error"';}; ?>>
<label for="email">* Your Email</label>
<input name="email" type="text" id="email" size="30" value="<?php if( isset($values['email']) ){echo $values['email'];}; ?>" />
<?php if( isset($errors['email']) ){echo '<span class="error">' . $errors['email'] . '</span>';}; ?>

<p<?php if( isset($errors['message']) ){echo ' class="error"';}; ?>>
<label for="message">* Your Message</label>
<textarea name="message" cols="40" rows="3" id="message"><?php if( isset($values['message']) ){echo $values['message'];}; ?></textarea>
<?php if( isset($errors['message']) ){echo '<span class="error">' . $errors['message'] . '</span>';}; ?>

<input type="submit" class="send" id="send" value="Send" />
Return current item: PHP and AJAX Slim Contact Form