FormPage
✖
FormPage
フィールドタイプのリスト »
詳細とオプション

- CloudDeploy[FormPage[…]]は,アクティブなフォームページを含むクラウドオブジェクトを与える.
- FormPage[formspec,func][<"namek"->inputk,… >]は,与えられた入力をFormPageオブジェクトで指定された初期フォームに挿入する.
- Setting[FormPage[formspec,func]]は,フォームの現行値に適用された func を評価する.
- FormPage[formspec,func,layout]の layout の可能な指定には以下がある.
-
"ResultBelow" フォームの下に結果を表示する "ResultAbove" フォームの上に結果を表示する {elem1,elem2,…} レイアウト要素を指定順に表示 - FormPage[formspec,func,{elem1,elem2,…}]の可能な elemiには以下がある.
-
"Form" formspec で指定されたフォーム "Result" func を適用して生成された結果 "Button" フォームを送信するボタン - FormPageの全体的なオプション
-
AppearanceRules Automatic 全体的な外観規則を与える連想 FormLayoutFunction Automatic フォームのレイアウトを生成する関数 FormProtectionMethod Automatic スパム保護のメソッド PageTheme Automatic フォームに使う全体的なテーマ ImageFormattingWidth $ImageFormattingWidth 出力フォーマッティングの折返し幅 ImageSize Automatic 出力についての全体的な画像サイズ
例題
すべて開くすべて閉じる例 (1)基本的な使用例
スコープ (31)標準的な使用例のスコープの概要
インタープリタの指定 (6)
豊かなInterpreter指定を使う:

https://wolfram.com/xid/0tzrr1ra-fv3l5m

Interpreterの頭部は任意であるが,Interpreterに対するオプションやその他の引数の指定に便利である:

https://wolfram.com/xid/0tzrr1ra-qztwkj


https://wolfram.com/xid/0tzrr1ra-6smtp1


https://wolfram.com/xid/0tzrr1ra-e3ttsv


https://wolfram.com/xid/0tzrr1ra-oqkvfa


https://wolfram.com/xid/0tzrr1ra-4p625p


https://wolfram.com/xid/0tzrr1ra-xysu80

デフォルト (3)
フィールドのデフォルトを指定する.デフォルトがあるフィールドには必要ない:

https://wolfram.com/xid/0tzrr1ra-cdiz5z


https://wolfram.com/xid/0tzrr1ra-b016u0

RuleDelayedを使って毎回新たなデフォルトを評価する:

https://wolfram.com/xid/0tzrr1ra-y9e2f2

入力 (2)
ラベル (1)

https://wolfram.com/xid/0tzrr1ra-fe40vb

RuleDelayedを使って任意の式を返すことができる:

https://wolfram.com/xid/0tzrr1ra-2ar7k


https://wolfram.com/xid/0tzrr1ra-hd0omk

Noneを使ってラベルを削除する:

https://wolfram.com/xid/0tzrr1ra-w510a4


https://wolfram.com/xid/0tzrr1ra-5ylswd

外観 (4)

https://wolfram.com/xid/0tzrr1ra-yvbojq


https://wolfram.com/xid/0tzrr1ra-b1796p


https://wolfram.com/xid/0tzrr1ra-utml3i

RuleDelayedを使って式をクラウドで評価する:

https://wolfram.com/xid/0tzrr1ra-8lx4xf


https://wolfram.com/xid/0tzrr1ra-zw7qzq

コントロール (7)
タイプによってコントロールが異なる."Color"のカラーピッカー:

https://wolfram.com/xid/0tzrr1ra-mrupb9


https://wolfram.com/xid/0tzrr1ra-5ac68s


https://wolfram.com/xid/0tzrr1ra-2mmd2l


https://wolfram.com/xid/0tzrr1ra-s3gz1r


https://wolfram.com/xid/0tzrr1ra-bdwfhl


https://wolfram.com/xid/0tzrr1ra-6uie7e


https://wolfram.com/xid/0tzrr1ra-ty4yyt

曖昧性の除去 (3)
動的フォーム (1)
TemplateSlotを含むフォームの部分は,TemplateSlot[key]で言及されたキーが適切な値に結びつけられない限り評価されない:

https://wolfram.com/xid/0tzrr1ra-gek4j1

レイアウト (4)

https://wolfram.com/xid/0tzrr1ra-ssqtlo


https://wolfram.com/xid/0tzrr1ra-33ncij


https://wolfram.com/xid/0tzrr1ra-nz9mgw


https://wolfram.com/xid/0tzrr1ra-y1189f

https://wolfram.com/xid/0tzrr1ra-ye6c1v

オプション (6)各オプションの一般的な値と機能
AppearanceRules (1)

https://wolfram.com/xid/0tzrr1ra-lc50lb


https://wolfram.com/xid/0tzrr1ra-y6kz35

"ItemLayout"を使ってフォームフィールドの外観を変える:

https://wolfram.com/xid/0tzrr1ra-1sw2kb


https://wolfram.com/xid/0tzrr1ra-4w5qpc


https://wolfram.com/xid/0tzrr1ra-bker7k

FormLayoutFunction (1)
PageTheme (4)

https://wolfram.com/xid/0tzrr1ra-kpu9ak


https://wolfram.com/xid/0tzrr1ra-8o9380


https://wolfram.com/xid/0tzrr1ra-v03qlo


https://wolfram.com/xid/0tzrr1ra-zib0jp

アプリケーション (2)この関数で解くことのできる問題の例
特性と関係 (9)この関数の特性および他の関数との関係
FormPageはFormFunctionと互換になるように設計されている:

https://wolfram.com/xid/0tzrr1ra-gdqgs1

FormPageはAPIFunctionと互換になるように設計されている:

https://wolfram.com/xid/0tzrr1ra-cx3tzu


https://wolfram.com/xid/0tzrr1ra-uunrde

FormPageの第1引数は完全なFormObjectとして与えることができる:

https://wolfram.com/xid/0tzrr1ra-izi7l8

第1引数が完全なFormObjectになるようにFormPageを評価する:

https://wolfram.com/xid/0tzrr1ra-ud6stg

FormPageの単一のフィールドが,Interpreterを使ってWolfram言語式の入力を変換する:

https://wolfram.com/xid/0tzrr1ra-pwx7ot


https://wolfram.com/xid/0tzrr1ra-me9ej6

AnySubsetを使って複数の選択肢が選べるコントローラを生成することができる:

https://wolfram.com/xid/0tzrr1ra-ek29ej

RepeatingElementを使って,加えたり削除したりできるフィールドの集合を生成することができる:

https://wolfram.com/xid/0tzrr1ra-cael9i

CompoundElementを使ってフィールドの拡張可能な表を作ることができる:

https://wolfram.com/xid/0tzrr1ra-k52ks

考えられる問題 (1)よく起る問題と予期しない動作
Interpreter["String"]は空の文字列を取る.これは,空の文字列と空のフィールドが等しいとみなすFormPageには当てはまらない:

https://wolfram.com/xid/0tzrr1ra-xswe58


https://wolfram.com/xid/0tzrr1ra-obuq5z

Wolfram Research (2015), FormPage, Wolfram言語関数, https://reference.wolfram.com/language/ref/FormPage.html.
テキスト
Wolfram Research (2015), FormPage, Wolfram言語関数, https://reference.wolfram.com/language/ref/FormPage.html.
Wolfram Research (2015), FormPage, Wolfram言語関数, https://reference.wolfram.com/language/ref/FormPage.html.
CMS
Wolfram Language. 2015. "FormPage." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FormPage.html.
Wolfram Language. 2015. "FormPage." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FormPage.html.
APA
Wolfram Language. (2015). FormPage. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FormPage.html
Wolfram Language. (2015). FormPage. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FormPage.html
BibTeX
@misc{reference.wolfram_2025_formpage, author="Wolfram Research", title="{FormPage}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/FormPage.html}", note=[Accessed: 11-July-2025
]}
BibLaTeX
@online{reference.wolfram_2025_formpage, organization={Wolfram Research}, title={FormPage}, year={2015}, url={https://reference.wolfram.com/language/ref/FormPage.html}, note=[Accessed: 11-July-2025
]}