PHP Classes

File: templates/form_date_body.html.php

Recommend this page to a friend!
  Classes of Manuel Lemos  >  PHP Forms Generation and Validation  >  templates/form_date_body.html.php  >  Download  
File: templates/form_date_body.html.php
Role: Auxiliary script
Content type: text/plain
Description: Date custom input form body template
Class: PHP Forms Generation and Validation
HTML forms generation and validation.
Author: By
Last change: Made the date input show a message denoting that it is empty.
Date: 11 years ago
Size: 389 bytes


Class file image Download
<legend><b><?php $form->AddLabelPart(array("FOR"=>"date")); ?></b> (From <tt><?php echo $start_date; ?></tt> to <tt><?php echo $end_date; ?></tt>)</legend>
<center><?php $form->AddInputPart("date"); ?>
echo (IsSet($verify["doit"]) ? "&nbsp;[Verify]" : ($doit ? "" : "&nbsp;[Optional]")) ?></center>
<hr />
<center><?php $form->AddInputPart("doit"); ?></center>