PHP Classes

File: templates/form_auto_layout_body.html.php

Recommend this page to a friend!
  Classes of Manuel Lemos   PHP Forms Class with HTML Generator and JavaScript Validation   templates/form_auto_layout_body.html.php   Download  
File: templates/form_auto_layout_body.html.php
Role: Auxiliary script
Content type: text/plain
Description: Template script to render the inputs of the automatic layout custom input plug-in
Class: PHP Forms Class with HTML Generator and JavaScript Validation
HTML forms generation and validation.
Author: By
Last change: Added support to button inputs for submit, reset and button types.
Date: 16 years ago
Size: 486 bytes
 

Contents

Class file image Download
<?php
/*
 * Add the automatic layout custom input to render all inputs at once.
 */
   
$form->AddInputPart("layout");

    if(!
$doit)
    {

/*
 * If the form was submitted with valid values, there is no need to display
 * the submit button again.
 */

?><center><?php
        $form
->AddInputPart("image_subscribe");
?> <?php
        $form
->AddInputPart("button_subscribe");
?><br /><br />
<?php
        $form
->AddInputPart("button_subscribe_with_content");
       
$form->AddInputPart("doit");
?></center><?php
   
}
?>