biz-Streamマニュアル XMLページレイアウトタグ リファレンス 第13章 フォーム 13.5 リセットボタン<form:reset-button>

13.5 リセットボタン<form:reset-button>


13.5.1機能説明

フォームリセット機能付きボタンフィールドのフォーム定義を行います。



13.5.2属性説明

属性名指定説明指定内容初期値
name必須名前CDATA
field-name必須フォームフィールドのフィールド名CDATA
x任意X座標CDATA0
y任意Y座標CDATA0
unit任意単位(Choice)mm / cm / in / px / ptmm
width必須CDATA
height必須CDATA
font-family任意フォント種類(Choice)ライブラリ共通ガイド
6.6 フォームフォント』を参照
HeiseiKakuGo
font-size任意フォントサイズCDATA8
border-color任意枠線の色CDATA
border-width任意枠線の幅CDATAthin / normal / thicknormal
border-style任意枠線のスタイルsolid / dashed / beveled / inset / underlinedsolid
background-color任意背景の色CDATA
text-align任意テキストの配置
(水平方向)
(Choice)left / center / rightleft
hidden任意フォームフィールドの表示(Choice)true(表示しない) /
false(表示する)
true
print任意フォームフィールドの印刷(Choice)true(印刷する) /
false(印刷しない)
true
read-only任意表示専用(Choice)true(表示専用) /
false(クリック可)
false
  • (注)初期値:出荷時のXMLデフォルト情報(default_values.properties)値を表します。ユーザにより値の変更が行われた場合は内容が異なります。


13.5.3記述例

form:reset-buttonサンプル1

form:reset-buttonサンプル1
(『<biz-Stream_home>/sample/xml/form_reset-button/form_reset-buttonSample1.xml』)

<?xml version="1.0" encoding="UTF-8"?>
<!-- XML file created by biz-Stream Designer -->
<!-- biz-Stream Copyright BrainSellers.com Corp. -->
<Layout Name="formresetbuttonSample1" Width="120" Height="90" X="10" Y="10" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:bs="http://www.brainsellers.com/schema" xmlns:svg="http://www.brainsellers.com/schema" xmlns:form="http://www.brainsellers.com/schema" xmlns:pdf="http://www.brainsellers.com/schema" version="5.0.0">
    <Square Width="75" Height="48" X="8" Y="11" LineColor="14,0,176" LineStyle="Solid"/>

    <!-- formtext -->
    <Label Width="25" Height="5" Y="48" Horizon="right" Vertical="center" Vector="horizon" Font="MSGothic" FontStyle="BOLD" Narrow="horizon">ID</Label>
    <form:text name="id" x="28" y="48" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"/>

    <!-- formpassword -->
    <Label Width="25" Height="5" Y="38" Horizon="right" Vertical="center" Vector="horizon" Font="MSGothic" FontStyle="BOLD" Narrow="horizon">パスワード</Label>
    <form:password name="password" x="28" y="38" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false"/>

    <!-- サブミットボタン -->
    <form:submit-button name="submit1" x="28" y="25" width="50" height="8" font-family="MSGothic" border-width="normal" border-style="solid" background-color="204,204,204" hidden="false" print="true" read-only="false" method="POST" format="XML" uri="mailto:technical@brainsellers.com">メールでデータを送信</form:submit-button>

    <!-- リセットボタン -->
    <form:reset-button name="reset1" x="28" y="15" width="50" height="8" font-family="MSGothic" border-width="normal" border-style="solid" background-color="230,230,250" hidden="false" print="true" read-only="false">データリセット</form:reset-button>

</Layout>

生成されるPDF(『<biz-Stream_home>/sample/xml/form_reset-button/form_reset-buttonSample1.pdf』)


リセットボタン
※reset-buttonクリック時にデータが初期化されます。