daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Sep 23rd, 2011 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         {validate form="ContactForm" id="checkContactEmail" message="Must be a valid Email Address." append="formErrors"}
  2.         {validate form="ContactForm" id="checkContactName" message="Name cannot be left blank." append="formErrors"}
  3.         {validate form="ContactForm" id="checkContactComment" message="Message cannot be left blank." append="formErrors"}
  4.        
  5.         {if isset($formErrors)}
  6.         <div class="errorContainer">
  7.         Please fix the following errors:<br /><br />
  8.         {foreach from=$formErrors key=errKey item=errItem}
  9.         &bull; {$errKey} {$errItem}<br />
  10.         {/foreach}
  11.         </div><br /><br />
  12.         {/if}
  13.        
  14.         <form aciton="/contact.php" method="post">
  15.         <table class="Table_Padding_3px">
  16.             <tr>
  17.                 <td class="copy_reg_form">Name: <img src="/images/required.gif" border="0" style="padding: 0px; margin: 5px 0 0 0;" /></td>
  18.             </tr>
  19.             <tr>
  20.                 <td><input type="text" name="contactName" value="{if isset($contactName)}{$contactName}{/if}" style="width:500px;" class="inputText" /></td>
  21.             </tr>
  22.             <tr>
  23.                 <td class="copy_reg_form">Email: <img src="/images/required.gif" border="0" style="padding: 0px; margin: 5px 0 0 0;" /></td>
  24.             </tr>
  25.             <tr>
  26.                 <td><input type="text" name="contactEmail" value="{if isset($contactEmail)}{$contactEmail}{/if}" style="width:500px;" class="inputText" /></td>
  27.             </tr>
  28.             <tr>
  29.                 <td class="copy_reg_form">Message: <img src="/images/required.gif" border="0" style="padding: 0px; margin: 5px 0 0 0;" /></td>
  30.             </tr>
  31.             <tr>
  32.                 <td><textarea name="contactComment" style="width:500px; height:200px;" class="inputText">{if isset($contactComment)}{$contactComment}{/if}</textarea></td>
  33.             </tr>
  34.             <tr>
  35.                 <td colspan="2"><input type="submit" class="button primary" value="Send a Comment" /></td>
  36.             </tr>
  37.         </table>
  38.         </form>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top