QuickFormの要素(タグ)別addElement引数

標準的 HTML 要素:

第1(タグの種類)第2第3第4第5第6
buttonstring
name属性
string
value属性
mixed
その他の属性
  
checkboxstring
name属性
string
checkboxのラベル
string
checkboxの右に配置される文字列
mixed
その他の属性
 
hiddenstring
name属性
string
value属性
mixed
その他の属性
  
imagestring
name属性
string
src属性
mixed
その他の属性
  
passwordstring
name属性
string
value属性
mixed
その他の属性
  
radio
※1
string
name属性
string
ラベル
string
radioの右に配置される文字列
string
value属性
mixed
その他の属性
resetstring
name属性
string
value属性
mixed
その他の属性
  
selectstring
name属性
string
ラベル
mixed
options属性selectの値配列
mixed
その他の属性
 
submitstring
name属性
string
value属性
mixed
その他の属性
  
textstring
name属性
string
value属性
mixed
その他の属性
  
textareastring
name属性
string
value属性
mixed
その他の属性
  

※1.radioは、第二引数を同じ名前にして複数addElementすることでグループを作成できます。

カスタム 要素

第1(タグの種類)第2第3第4第5第6
advcheckboxstring
name属性
string
checkboxのラベル
string
checkboxの右に配置される文字列
mixed
その他の属性
mixed
チェックonの時の値とOffの時の値
autocompletestring
name属性
string
ラベル
array
autocompleteの元になる値
mixed
その他の属性
 
datestring
name属性
string
ラベル
array
日付の表示形式
mixed
その他の属性
 
headerstringstring
表示文字列
   
hiddenselectstring
name属性
string
ラベル
mixed
options属性selectの値配列
mixed
その他の属性
 
hierselectstring
name属性
string
ラベル
mixed
その他の属性
? 
linkstring
name属性
string
ラベル
stringy
href属性
string
リンク文字列
mixed
その他の属性
staticstringstring
ラベル
string
表示文字列