フォーム用コマンドコメント †登録・編集画面で登録データを初期値としたフォームを表示します。 form:標準フォーム †text:1行テキスト †
<!--# form text name 64 32 #--> <input type="text" name="name" value="" size="64" maxlength="32"> <!--# form text name 64 32 太郎 class="search" #--> <input type="text" name="name" value="太郎" class="search" size="64" maxlength="32"> textarea:複数行テキスト †
<!--# form textarea profile 64 5 #--> <textarea name="profile" cols="64" rows="5"></textarea> <!--# form textarea profile 64 5 初めまして class="register" #--> <textarea name="profile" cols="64" rows="5" class="register">初めまして</textarea> password:パスワード †
<!--# form password name 32 32 #--> <input type="password" name="name" size="32" maxlength="32"> <!--# form password name 32 32 class="register" #--> <input type="password" name="name" class="register" size="32" maxlength="32"> radio:ラジオボタン †radiobox:ラジオボタン †
<!--# form radio sex 男性/女性 男性/女性 #--> <label><input type="radio" name="sex" value="男性">男性</label> <label><input type="radio" name="sex" value="女性">女性</label> <!--# form radio sex male <br> male/female 男性/女性 class="search" #--> <label><input type="radio" name="sex" value="male" class="search" checked="checked">男性<br></label> <label><input type="radio" name="sex" value="female" class="search">女性<br></label> checkbox:チェックボックス †check:チェックボックス †
<!--# form checkbox hobby スポーツ/読書/音楽鑑賞 スポーツ/読書/音楽鑑賞 #--> <label><input type="checkbox" name="hobby[]" value="スポーツ">スポーツ</label> <label><input type="checkbox" name="hobby[]" value="読書">読書</label> <label><input type="checkbox" name="hobby[]" value="音楽鑑賞">音楽鑑賞</label> <input type="hidden" name="hobby_CHECKBOX" value=""> <!--# form checkbox hobby スポーツ/音楽鑑賞 <br> スポーツ/読書/音楽鑑賞 スポーツ/読書/音楽鑑賞 class="search" #--> <label><input type="checkbox" name="hobby[]" value="スポーツ" class="search" checked="checked">スポーツ<br></label> <label><input type="checkbox" name="hobby[]" value="読書" class="search">読書<br></label> <label><input type="checkbox" name="hobby[]" value="音楽鑑賞" class="search" checked="checked">音楽鑑賞<br></label> <input type="hidden" name="hobby_CHECKBOX" value=""> option:セレクトボックス †
<!--# form option area /北海道・東北/関東/甲信越 未選択/北海道・東北/関東/甲信越 #--> <select name="area"> <option value="" selected="selected">未選択</option> <option value="北海道・東北">北海道・東北</option> <option value="関東">関東</option> <option value="甲信越">甲信越</option> </select> <!--# form option area 北海道・東北 /北海道・東北/関東/甲信越 未選択/北海道・東北/関東/甲信越 class="search" #--> <select name="area" class="search"> <option value="">未選択</option> <option value="北海道・東北" selected="selected">北海道・東北</option> <option value="関東">関東</option> <option value="甲信越">甲信越</option> </select> hidden:非表示データ †
<!--# form hidden search_mode normal #--> <input type="hidden" name="search_mode" value="normal" > <!--# form hidden search_mode normal class="search" #--> <input type="hidden" name="search_mode" value="normal" class="search" > tableSelectForm:テーブルの内容を元にしたセレクトボックス †
<!--# code tableSelectform address adds name id #--> <select name="address"> <option value="PF01">北海道</option> <option value="PF02">青森県</option> [省略] <option value="PF46">鹿児島県</option> <option value="PF47">沖縄県</option> </select> <!--# code tableSelectform address adds name id PF47 未選択 class="search" #--> <select name="address" class="search"> <option value="">未選択</option> <option value="PF01">北海道</option> <option value="PF02">青森県</option> [省略] <option value="PF46">鹿児島県</option> <option value="PF47" selected="selected">沖縄県</option> </select> |