WebSite-PHP Framework PHP
Multi langues
Mode Ajax simple
Aucun HTML, aucun JavaScript
URL rewrinting
Envoi d'email
Sitemap - RSS - Web service
Télécharger le Framework WebSite-PHP maintenant
 


Loading
 


Tutorial : TextBox with presence 
live validation

Tutoriels

>

Tutoriel Textbox

>

Tutorial : TextBox with presence live validation


Textbox-03: Tutoriel du composants Textbox du FrameWork PHP WebSite-PHP.

Tutorial : TextBox with presence live validation:



Retourner aux tutoriels du composants Textbox



Code source

Code source


Fichier: /pages/tutorials/textbox/textbox-03.php

<?php
class Textbox03 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : TextBox with presence 
                                live validation"
;
        
        
$form = new Form($this); 
        
        
$edt_text = new TextBox($form);
        
$text_box_validation = new LiveValidation();
        
$text_box_validation->addValidatePresence();
        
$text_box_validation->activeValidationOnInit();
        
$edt_text->setLiveValidation($text_box_validation);
        
        
$form->setContent($edt_text);
        
$this->render $form;
    }
}
?>


Retourner aux tutoriels du composants Textbox


Share

 


Copyright © 2009-2016 WebSite-PHP Framework PHP
Accueil Documentation Télécharger Quick start Tutoriels Wiki Issue Tracker