> For the complete documentation index, see [llms.txt](https://manual.dxable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.dxable.com/smartsheet/sharing-and-collaboration/forms/validate-information-in-forms.md).

# フォーム内の情報を検証する

フォーム検証を使用すると、フォーム ビルダーでフォームにリアルタイム検証を追加して、一貫性のあるエラーのないデータを収集できます。

### プラン <a href="#cbwfqb1wmb9e" id="cbwfqb1wmb9e"></a>

* Smartsheet
* Pro
* Business
* Enterprise

プラン タイプと含まれる機能の詳細については、 「Smartsheetプラン」ページを参照してください。

単純な文字とパターンベースの検証をテキスト/数値フィールドと連絡先リストフィールドに追加します。

| 検証タイプ       | <p>Field Type(s)<br>フィールドタイプ</p> | 有効な文字                                                   | 有効なパターン                                   |
| ----------- | -------------------------------- | ------------------------------------------------------- | ----------------------------------------- |
| **数字**      | テキスト/番号                          | <p>数字</p><p>ピリオド（.）</p><p>ダッシュ (-)</p><p>指数関数を表す「e」</p> | 該当なし                                      |
| **パーセント**   | テキスト/番号                          | <p>数字</p><p>ピリオド（.）<br>ダッシュ (-)</p><p>指数関数を表す「e」</p>    | 該当なし                                      |
| **メールアドレス** | テキスト/番号、連絡先リスト                   | 全て                                                      | \[characters]@\[characters].\[characters] |
| **電話番号**    | テキスト/番号                          | 数字                                                      | 選択した国に基づいて正しい文字数が必要です                     |

重要\
ダッシュ (-) 記号は、数値検証フィールドで負の符号としてのみ使用できます。

### **フォームで検証を使用するには** <a href="#id-6hia2mxils3h" id="id-6hia2mxils3h"></a>

1. 「フォーム」メニューで「フォームの管理…」を選択します。
2. 既存のフォームを開きます。
3. フォーム上のテキスト/番号または連絡先リスト フィールドを選択して、右側のフィールド設定パネルを開きます。
4. パネルの「検証」に移動します。デフォルトでは、「検証なし」オプションが選択されています。
5. フィールドに対して有効にするオプションを選択します。

![Field settings screen, showing the validation field options](/files/a49KrjZNA1qio96Bc60M)

### **検証を有効にしてフォームフィールドに入力します** <a href="#kf3ymnh7u02q" id="kf3ymnh7u02q"></a>

フィールドに検証を入力する場合、フォームの回答者のエクスペリエンスは、有効にした検証の種類によって異なります。

* 検証で特定の種類の文字が必要な場合、フィールドに無効な文字を入力することはできません。たとえば、電話認証フィールドでは、数字以外の文字を入力することはできません。
* 検証で特定の文字パターンが必要な場合、エントリはそのパターンと一致する必要があります。パターンに一致しないものを入力し、フォーム上の他の場所をクリックすると、フォームにエラー メッセージが表示されます。

#### フォーム内の情報を検証するためのメモ <a href="#yhd9hnflx1c7" id="yhd9hnflx1c7"></a>

* フォーム上のフィールドに電話による検証を追加すると、デフォルトの国コードを選択できます。フォームに記入する人は、電話認証フィールドに記入する際に国コードを変更するオプションも利用できます。
* 検証エラーのあるフォームを送信することはできません。送信するには、フォームに記入する人はまず、検証済みフィールドの入力を修正するか、入力を削除する必要があります (フィールドが必須でない場合)。
* モバイル アプリではフォーム検証はありません。代わりに GPS/バーコード機能を使用するように求めるプロンプトが自動的に表示されます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://manual.dxable.com/smartsheet/sharing-and-collaboration/forms/validate-information-in-forms.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
