ValidForm Builder

Easy and safe XHTML 1.0 strict forms with validation!

Contents

The VF_Group class

Introduction

Description of the class

Class synopsis

VF_Group {
	object addField(string $label, string $value[, bool $checked[, array $meta]])
	string toHtml([bool $isSubmitted[, bool $simpleLayout]])
	string toJS(void)
}

Table of Contents

  • VF_Group→addField — Add a new field to the VF_Group object. This can either be a checkbox or radiobutton.
  • VF_Group→toHtml — Generates the HTML for this group and all (multi)fields inside it
  • VF_Group→toJS — Generates the Javascript code for this group and all (multi)fields inside it