WebSite-PHP Framework PHP
Multi language
Simple Ajax mode
No HTML, no JavaScript
URL rewriting
Mail sending
Sitemap - RSS - Web service
Download WebSite-PHP FrameWork now
 


Loading
 


Tutorial : Calendar with LiveValidation

Tutorials

>

Tutorial Calendar

>

Tutorial : Calendar with LiveValidation


Calendar-04: Tutorial of the composant Calendar of the PHP FrameWork WebSite-PHP.

Tutorial : Calendar with LiveValidation:



Go back to tutorial of the componant Calendar



Source code

Source code


File: /pages/tutorials/calendar/calendar-04.php

<?php
class Calendar04 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Calendar with LiveValidation";
        
        
$form = new Form($this);
        
        
$edt_date = new Calendar($form);
        
$lv = new LiveValidation();
        
$lv->addValidateCalendar($edt_date->getDateFormat());
        
$edt_date->setLiveValidation($lv);
        
        
$form->setContent($edt_date);
        
$this->render $form;
    }
}
?>


Go back to tutorial of the componant Calendar


Share

 


Copyright © 2009-2017 WebSite-PHP Framework PHP
Home Documentation Download Quick start Tutorials Wiki Issue Tracker