> For the complete documentation index, see [llms.txt](https://help.pagefly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pagefly.io/pagefly-help-center-japanese/pjito/shopify-elements/form/shopify-elements-customer-form-field.md).

# 顧客フォームフィールド

### 顧客フォームフィールド要素について

[Shopifyの顧客フォームフィールド要素](https://help.pagefly.io/manual/shopify-elements-customer-form-field/)は、顧客フォームを簡単にカスタマイズできるように設計されています。これは、マーケティングや社内利用のために特定の顧客情報を収集するのに役立ち、割引や特典で顧客のアクションを促すためにも使用できます。特定の要件やブランディングの好みに合わせて、フォームフィールドを調整できます。

{% hint style="warning" %}
**ご注意ください**:

* 顧客フォームフィールド要素は顧客フォームの外に置くことはできません。顧客フォームフィールド要素を追加する前に、必ず顧客フォーム要素をレイアウトにドラッグしていることを確認してください。
* 各顧客フォームには、適切に機能するために少なくとも1つのメールフィールドが必要です。
  {% endhint %}

詳細については、こちらのビデオチュートリアルをご覧ください。

{% embed url="<https://www.youtube.com/watch?v=RH98jM3KtzQ\\&t=11s>" %}

### 顧客フォームフィールド要素にアクセスする方法

* ステップ1: **Elements** アイコンをクリック > 次に、**Shopify** タブで **Customer Form Field** を選択します
* ステップ2: 目的の顧客フォームフィールドバリアントをページエディターにドラッグアンドドロップします

{% hint style="warning" %}
**重要**: 顧客フォームフィールド要素は顧客フォームの外に置くことはできません
{% endhint %}

![](/files/WoPT1L402V8elvaYde92)

顧客フォームフィールドには、**Email、First Name、Last Name**、および **Customer Note** 要素が含まれています。検索バーで要素を検索することもできます。

### 顧客フォームフィールド要素を設定する方法

顧客フォームフィールド要素には、可能な限り最高のコンバージョン率を達成するためにコンテンツの外観を細かく調整できる多くのパラメーターがあります。

ページキャンバス上の要素をクリックすると、この要素に固有のGeneralタブとStylingタブのパラメーターにアクセスできます。

![](/files/cgTFP7pj1rKGDFgj80sy)

#### General 設定

\| **Show Label:** ラベルの表示/非表示。 |

| ![](/files/F4TWbkC5jNtRRj2CTNBb)      |
| ------------------------------------- |
| **Label Position**: 入力ボックスに対するラベルの位置。 |

![](/files/FCaVblPT6EYPItDAIFnX) |\
\| **Require Field**: このフィールドを必須フィールドにします |

![](/files/FKvnWELKvT5bQvSb6foy) |

#### Styling 設定

要素サイズ、スペーシング、タイポグラフィ、色など、Stylingタブでさまざまなパラメーターを変更して、顧客フォームフィールド要素がページの全体的なレイアウトと一致するように保証できます。

Stylingタブの詳細については、[こちら](https://help.pagefly.io/manual/elements-style-settings/)をご確認ください。

### 顧客フォームフィールド要素のサブ要素を設定する方法

顧客フォームフィールド要素には、Field LabelとField Inputの2つのサブ要素があります。サブ要素をクリックすると、各サブ要素のすべての設定パラメーターが表示されます。

#### Field Label 要素の設定

Field Label要素全体を選択し、GeneralタブにはLabel textという設定が1つだけあります。表示したいラベルの名前を入力する必要があります。

Field Label要素のスタイリング設定は、要素のスタイリングに似ています。要素のスタイリング設定の詳細については、[こちら](https://help.pagefly.io/manual/elements-style-settings/)をご覧ください。

#### Field Input 要素の設定

\| Customer Details: フォーム経由で送信されたデータで入力する顧客の詳細フィールドを選択します。4つのオプションがあります: - First name - Last name - Email - Customer note |

| ![](/files/csxmoBFQsWXafsaIcM2Y)                     |
| ---------------------------------------------------- |
| **Placeholder Text**: 訪問者が入力を開始するまで入力ボックスに表示されるテキスト。 |

![](/files/kYlD0HWW4l8uP1Ay8K7P) |\
\| **Input type**: Customer DetailsでCustomer noteを選択した場合のみ表示されます。8つのオプションが利用可能です: - Single line text - Multiple Line Text - Single Choice - Checkbox - Dropdown - Number - Date - Time | **Single Line Text**

![](/files/XAwkSEzlw1aBY9EjTOIk) Placeholder Text: 訪問者が入力を開始するまで入力ボックスに表示されるテキスト **Multiple Line Text**

![](/files/NdGCBQ6R1wmUEL4IFTy9) Line Number: テキストの高さは行数でカウントされます（最小値は1、最大値は20）。 Placeholder Text: 訪問者が入力を開始するまで入力ボックスに表示されるテキスト **Single Choice**

![](/files/AI9TUFL45yVmDM4lSG3W) Single choice options: 新しい行を入力することで、オプションの名前変更、追加が可能です **Checkbox**

![](/files/t0M0b6i0kJKpVGiEoWRD) Checkbox Label: チェックボックスの名前を入力します。 **Dropdown**

![](/files/EY7e3Qp6Iq4Bc7illoVr) Dropdown options: 新しい行を入力することで、オプションの名前変更、追加が可能です **Number**

![](/files/UzDNmuprKifMH9WbQuh0) **Default number**: 顧客のためのデフォルト番号を設定します。 **Date**

![](/files/MaQRyneTUVg5qYWo67W9) Default date: 顧客のためのデフォルト日付を設定します。 **Time**

![](/files/eH7C00CvcjKkmfzqu9Fz) **Default time**: 顧客のためのデフォルト時間を設定します |

Stylingタブでは、Field input要素のサイズ、スペーシング、タイポグラフィ、色などを調整できます。ページキャンバスでField input要素をクリック > NavigationでStylingに移動すると、これらのパラメーターが表示されます。

### よくあるケース

* Field Stateオプションは、Contact Form Field内でInput Fieldを選択した場合にのみ表示されることに注意してください。これらのオプションにアクセスするには、適切な要素を選択していることを確認してください。
* フォームにフィールドが1つしかない場合、そのフィールドはメール（必須）である必要があります。

### よくある質問

**1. 顧客フォームフィールド要素は何のために使用されますか？**

顧客フォーム内にカスタムフィールドを作成し、顧客から特定の情報を収集するために使用されます。この情報は、注文処理、マーケティング、顧客サポートなど、さまざまな目的で使用できます。

**2. 1つのフォームで複数の顧客フォームフィールド要素を使用できますか？**

はい、必要な数の顧客フォームフィールド要素を追加して、必要な情報を収集できます。

**3. 顧客フォームフィールド要素はどこで使用できますか？**

PageFlyの任意のページで使用できますが、チェックアウトページ、お問い合わせページ、ランディングページでよく使用されます。

### 追加リソース

* [強力なコンタクトフォームビルダー | 設定の6つのステップ](https://help.pagefly.io/manual/form-builder-contact-form-by-globo/)
* [Shopifyのお問い合わせフォームボタンの使い方](https://help.pagefly.io/manual/shopify-elements-contact-form-button/)


---

# 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://help.pagefly.io/pagefly-help-center-japanese/pjito/shopify-elements/form/shopify-elements-customer-form-field.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.
