PHP Classes

File: templates/form_date_body.html.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Manuel Lemos  >  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: 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: 10 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>