ValidForm Builder

Easy and safe XHTML 1.0 strict forms with validation!

Contents

The VF_Text class

Introduction

This class creates a new input element of the type 'text'. This class is for internal use only. Use ValidForm→addField to add an input element to the current form.

Class synopsis

VF_Text {
	string toHtml([bool $isSubmitted[, bool $simpleLayout]])
	string toJS(void)
}

Table of Contents

VF_Text→toHtml — Generates the HTML code for this object
VF_Text→toJS — Generates the Javascript code for this object