quickform
'ja', 'format' => 'Ymd', 'minYear' => 1900, 'maxYear' => date('Y') + 1, 'addEmptyOption' => true, 'emptyOptionText' => '--', ); $form->addElement('date', 'opening_date', 'opening_date', $options); $form->registerRule('isValidDate', 'callb…
QuickFormで入力値にフィルタを適用するには、applyFilter関数を使用します。applyFilterは、ここの要素又は全ての要素に適用できます。$objQF->applyFilter('__ALL__','trim');上記スクリプトは、全ての要素にtrim関数を実行するように指定しています。 tri…
導入 - 検証およびフィルタ -- 送信されたデータを処理する方法
quickformでPOSTされてない値をquickformで扱うには、quickformを作る前に$_POSTに代入すべし setDefaults(array("test"…
new HTML_QuickForm() textarea text
addGroup($sex, 'sex', '性別', ' '); ?>
PEAR :: Manual :: HTML_QuickForm::addGroupRule() addGroup($kind, 'kind', '…