Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/form_auto_layout_body.html.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  Forms generation and 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: Forms generation and validation
HTML forms generation and validation.
Author: By
Last change: Added support to button inputs for submit, reset and button types.
Date: 6 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
    
}
?>