A laptop, a phone and a hand writing in a notebook on a wooden desk, banner image on the Form Builder page

ツール/ Buildスイート

Form Builder

フィールドを書くだけで、ラベル、タイプ、必須マーク、検証属性を備えた動くHTMLフォームが1つのファイルとして出力されます。

1フィールドにつき1行(ラベル、タイプ、必須かどうか)書くだけで、適切な入力タイプと検証属性を備えたきれいでアクセシブルなHTMLフォームが、どのバックエンドにも接続できる1つのファイルとして出力されます。

ツールを開く
Screenshot of the Form Builder tool

できること

どの回答にも適した入力欄を。

本物の入力タイプ

email、number、date、url、tel、select、textarea。テキストボックスを12個並べるのとは違います。

必須マークとキーボードヒント

requiredの属性と適切なinputmodeが自動で付きます。

標準でアクセシブル

すべてのコントロールに、for属性で結び付けられたラベルが付きます。

リンクを共有

フォームを専用ページに公開します。人々が入力し、あなたは非公開ページで回答を読み、CSVとしてダウンロードできます。1フォームにつき最大300件の回答。

またはHTMLを書き出す

書き出したフォームは、action= を自分のエンドポイントに向けるまで、どこにも送信しません。

1フィールド1行

ラベル、タイプ、required、選択肢を縦線で区切ります。文法はメモカード1枚に収まります。

合ったキーボード

電話、メール、URL、数値の欄には入力モードが付くため、スマートフォンに適したキーが表示されます。

本物のHTMLドキュメントが出力されます

書き出されるのは、タイトル、ラベル、必須マーク、送信ボタンを含む完全なページで、断片ではありません。

ホスト型リンクを公開

1クリックでフォームが共有用URLに公開され、最大300件の回答が保存されます。

パスワードは非公開のまま

公開されたフォームはパスワード欄を受け付けません。秘密情報はどこでも尋ねず、決して集めないでください。

タイプミスでは壊れません

行の中の不明なタイプはテキストに戻るため、フォームは必ず作られます。

入力中のライブプレビュー

行を編集するたびにプレビューが即座に再描画されます。間違いもそのまま表示されます。

使い方の流れ

フィールドを入れて、フォームを出す。

手順1

1行に1フィールドを貼り付けます:ラベル | タイプ | required。

手順2

ライブプレビューを確認します。

手順3

HTMLをコピーして、actionのURLを設定します。

よくある質問

対応するタイプは?

text、email、number、tel、url、date、password、textarea、select、checkbox。

selectの選択肢は?

3つ目の縦線のあとに加えます:Plan | select | required | Free, Pro, Team。

スタイルは?

インラインでダーク基調。書き出し後は自由に編集できます。

縦線の書き方はどのようなものですか?

Email | email | required:最初にラベル、次にタイプ、3番目にrequired、selectの場合は最後にカンマ区切りの選択肢。

送信内容はどこへ行きますか?

書き出したファイルは、あなたが設定したactionに送信します。公開リンクは回答を代わりに集め、上限は300件です。

必須フィールドは?

行の3番目にrequiredと書くと、欄に星印が付き、ブラウザーが入力を必須にします。

結果にスタイルを付けられますか?

書き出されるのはインラインスタイル付きのシンプルなHTMLです。好きなエディターで開いて自分のものにできます。

Form Builderを開く

実例

ツールそのものからの実際の出力。

これはForm Builderが内蔵の入力例に対して返したもので、ツールからキャプチャーした実際の出力です。モックアップではありません。

あなたが入力

入力

Full name | text | required
Email | email | required
Company size | select | required | 1-10, 11-50, 51-200, 200+
Start date | date
Notes | textarea

フォームのタイトル

Request access

入力

1-10

ツールが返す

Full name * (text)
Email * (email)
Company size * (select)
1-10
11-50
51-200
200+
Start date (date)
Notes (textarea)
自分の入力で試す

Buildスイートのその他のツール

Font Pairing LabWebhook TesterPricing Page BuilderLanding Page MakerStatus Page Starter
A laptop, headphones, a camera, a phone and a plant on a white desk, seen from above, banner image on the Form Builder page

今すぐ試す。

Form Builderはブラウザー内で動きます。アカウントは不要です。

作成済みタイル

行の文法

LabelTypeRequired flag, optionalOptions, select only
LabelTypeRequired flag, optionalOptions, select only
各行は最大4つの部分からなり、縦線で区切ります。

パイプライン

1行の読み取り方

Trim the lineSkip it if blankSplit on pipesSkip it if undertwo partsMake a fieldrecord
Trim the lineSkip it if blankSplit on pipesSkip it if under two partsMake a field record
空行や1つの部分だけの行がフィールドになることはありません。

作成済みタイル

受け付ける10のタイプ

textemailnumbertelurldatepasswordtextareaselectcheckbox
textemailnumbertelurldatepasswordtextarea
それ以外はテキストに戻ります。

パイプライン

不明なタイプはテキストになる

Read the secondpartLowercase itLook in the tentypesNot foundUse text
Read the second partLowercase itLook in the ten typesNot foundUse text
タイプの語は、照合の前に小文字に変換されます。

パイプライン

requiredの読み取り方

Read the thirdpartTest for a leadingreqSet the field flagStar on the labelRequired attributeon the control
Read the third partTest for a leading reqSet the field flagStar on the labelRequired attribute on the control
reqで始まる語はすべて有効で、大文字小文字は問いません。

パイプライン

selectの選択肢

Read the fourthpartSplit on commasTrim each optionDrop empty onesOne option elementeach
Read the fourth partSplit on commasTrim each optionDrop empty onesOne option element each
選択肢は4番目の部分からのみ取られます。

対応マトリクス

タイプ別のキーボードヒント

emailtelurldecimalemailtelurlnumbertextdate
emailemailteltelurlurlnumberdecimaltextnone of thesedatenone of these
inputmode属性が付くのは4つのタイプだけです。

入力から出力へ

書き出しで作られるもの

Field linesフォームのタイトルDoctype andheadLabelledcontrolsSubmit buttonExportInOut
InField linesフォームのタイトルExportDoctype and headLabelled controlsSubmit buttonOut
書き出されるのは1つのHTMLドキュメントです。

ビフォー アフター

5行、5つのコントロール

Starter lineControlFull name | text | requiredEmail | email | requiredCompany size | select |requiredStart date | dateNotes | textareaRequired text inputRequired email inputRequired dropdown, 4 optionsDate inputTextarea, 4 rows
Starter line to ControlFull name | text | requiredRequired text inputEmail | email | requiredRequired email inputCompany size | select | requiredRequired dropdown, 4 optionsStart date | dateDate inputNotes | textareaTextarea, 4 rows
初期の各行が1つのコントロールになります。

パイプライン

フィールドIDの作り方

Take the positionLowercase thelabelSwap non lettersfor dashesTrim edge dashesPrefix f and theposition
Take the positionLowercase the labelSwap non letters for dashesTrim edge dashesPrefix f and the position
IDは位置と整形したラベルを組み合わせたものです。

作成済みタイル

ラベルが持つ内容

for attribute to thecontrol idBlock display above thefieldStar after required labelsText escaped before output
for attribute to the control idBlock display above the fieldStar after required labelsText escaped before output
すべてのラベルが対応するコントロールに結び付けられます。

パイプライン

ラベルと選択肢のエスケープ

Ampersand becomesampLess-than becomesltQuote becomes quot
Ampersand becomes ampLess-than becomes ltQuote becomes quot
3つの文字が置き換えられます。

バー比較

書き出されるページの寸法

Page max width520 pxTop margin40 pxSide padding20 pxTitle size24 pxButton text15 pxButton padding12 px
Page max width520 pxTop margin40 pxSide padding20 pxTitle size24 pxButton text15 pxButton padding12 px
書き出されたドキュメントの固定サイズ。

作成済みタイル

headの中身

DoctypeCharset utf-8Viewport metaTitle from the form title
DoctypeCharset utf-8Viewport metaTitle from the form title
headは小さく固定です。

パイプライン

ファイルの組み立て

Read the titleParse the fieldsBuild one blockper fieldWrap them in apost formAdd the Submitbutton
Read the titleParse the fieldsBuild one block per fieldWrap them in a post formAdd the Submit button
タイトル欄が空のとき、既定のタイトルは Form です。

入力から出力へ

フォームの送信先

Exported HTMLYour endpointMethod postFields namedby idForm actionInOut
InExported HTMLYour endpointForm actionMethod postFields named by idOut
actionは意図的に空になっています。

作成済みタイル

タイプ別のコントロール要素

Input with the chosen typeTextarea, 4 rowsSelect with optionsCheckbox input, no hint
Input with the chosen typeTextarea, 4 rowsSelect with optionsCheckbox input, no hint
4種類の要素で10のタイプすべてをカバーします。

パイプライン

ライブプレビュー

You edit thefields boxThe input eventfiresLines are parsedPreview rows aredrawnExport HTML isrebuilt
You edit the fields boxThe input event firesLines are parsedPreview rows are drawnExport HTML is rebuilt
プレビューと書き出しは同時に作り直されます。

パイプライン

HTMLをコピー

Press Copy HTMLTake the lastbuilt fileWrite it to theclipboardEmpty text if noneyet
Press Copy HTMLTake the last built fileWrite it to the clipboardEmpty text if none yet
ボタンは最後に作られたものをコピーします。

パイプライン

公開前のチェック

At least one fieldNo password fieldDisable the buttonPost JSON to theforms endpointShow the links
At least one fieldNo password fieldDisable the buttonPost JSON to the forms endpointShow the links
2つのチェックでリクエストが止まります。

入力から出力へ

公開リクエスト

フォームのタイトルField recordsShare URLPrivateresponses URLError textPublish a linkInOut
InフォームのタイトルField recordsPublish a linkShare URLPrivate responses URLError textOut
タイトルとフィールドはJSONとして送られます。

ビフォー アフター

公開に失敗したときのメッセージ

CauseMessageNo fields typedPassword field presentServer rejects itConnection dropsAdd at least one fieldfirst.A published form cannot askfor passwords.Server error text, or Couldnot publish.Network error. Try again.
Cause to MessageNo fields typedAdd at least one field first.Password field presentA published form cannot ask forpasswords.Server rejects itServer error text, or Could notpublish.Connection dropsNetwork error. Try again.
拒否の理由ごとに専用のメッセージがあります。

対応マトリクス

要素別のタイプ

inputtextareaselectinputmodetextemailnumbertelurldatepasswordtextareaselectcheckbox
textinputemailinputinputmodenumberinputinputmodetelinputinputmodeurlinputinputmodedateinputpasswordinputtextareatextarea
各タイプが使う要素。

対応マトリクス

requiredが表示される場所

StarRequired attributeFlag valuePreview labelPreview controlExport labelExport controlPublished record
Preview labelStarPreview controlRequired attributeExport labelStarExport controlRequired attributePublished recordFlag value
1つのフラグ、5か所に反映。

実際の流れ

初期サンプルを順番に

Full name1 lineEmail2 lineCompany size3 lineStart date4 lineNotes5 line
1Full name1 line2Email2 line3Company size3 line4Start date4 line5Notes5 line
5行を上から順に。

バー比較

初期のselectにあるサイズ区分

1 to 1010 people11 to 5050 people51 to 200200 people
1 to 1010 people11 to 5050 people51 to 200200 people
各閉区間の上限。

パイプライン

入力から共有リンクまで

Type the fieldsCheck the previewPress Publish alinkReceive two URLsShare one, keepthe other
Type the fieldsCheck the previewPress Publish a linkReceive two URLsShare one, keep the other
全体の流れを1つの画面で。