PHP Classes

File: templates/form_date_body.html.php

Recommend this page to a friend!
  Classes of Manuel Lemos   PHP Forms Class with HTML Generator and JavaScript 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 Class with HTML Generator and JavaScript Validation
HTML forms generation and validation.
Author: By
Last change: Made the date input show a message denoting that it is empty.
Date: 18 years ago
Size: 389 bytes
 

Contents

Class file image Download
<fieldset>
<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"); ?>
<?php
echo (IsSet($verify["doit"]) ? "&nbsp;[Verify]" : ($doit ? "" : "&nbsp;[Optional]")) ?></center>
</fieldset>
<hr />
<center><?php $form->AddInputPart("doit"); ?></center>