HTML_QuickForm_DHTMLRulesTableless
[ class tree: HTML_QuickForm_DHTMLRulesTableless ] [ index: HTML_QuickForm_DHTMLRulesTableless ] [ all elements ]

Class: HTML_QuickForm_PageDHTMLRulesTableless

Source Location: /HTML_QuickForm_DHTMLRulesTableless-0.3.3/HTML/QuickForm/PageDHTMLRulesTableless.php

Class Overview

HTML_QuickForm_Page
   |
   --HTML_QuickForm_PageDHTMLRulesTableless

This is a DHTML replacement for the standard JavaScript alert window for client-side validation of forms built with HTML_QuickForm


Author(s):

Version:

  • Release: 0.3.3

Methods


Inherited Variables

Inherited Methods


Class Details

[line 64]
This is a DHTML replacement for the standard JavaScript alert window for client-side validation of forms built with HTML_QuickForm


[ Top ]


Method Detail

HTML_QuickForm_PageDHTMLRulesTableless (Constructor)   [line 71]

HTML_QuickForm_PageDHTMLRulesTableless HTML_QuickForm_PageDHTMLRulesTableless( $formName, [ $method = 'post'], [ $target = ''], [ $attributes = null])

Class constructor
  • Access: public

Parameters:

   $formName   — 
   $method   — 
   $target   — 
   $attributes   — 

[ Top ]

display   [line 290]

void display( )


[ Top ]

getValidationScript   [line 87]

string getValidationScript( )

Returns the client side validation script

The code here was copied from HTML_QuickForm and slightly modified to run rules per-element

  • Return: Javascript to perform validation, empty string if no 'client' rules were added
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:10:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.