# お客様アカウント作成について

**URL:** <https://community.shopify.com/t/topic/22109>\
**Category:** 技術的なQ＆A\
**Created:** [October 2, 2020, 8:34am UTC](https://community.shopify.com/t/topic/22109 "2020-10-02T08:34:58Z")\
**Posts on this page:** 2\
**Page:** 1

## AI-generated summary

お客様アカウント作成時に登録する住所・アドレス欄で、特定の文字を入力させない制限を設けられるかが主題です。

回答では、テーマコードの編集によって対応可能とされ、`customer/register.liquid` にJavaScriptを追加する方法が案内されています。これは会員登録ページのテンプレートに入力チェック処理を入れるという意味です。

現時点で示された具体策はフロントエンド側のバリデーション実装のみで、禁止文字の条件や、Shopify標準機能だけで設定できるかまでは説明されていません。

結論として、テーマ編集での実装案は提示されたものの、詳細な実装方法やサーバー側での厳密な制御可否は未回答のままで、議論は簡易な提案段階です。

<div class="post-metadata">

**Author:** ![oooo](https://avatars.discourse-cdn.com/v4/letter/o/bb73d2/32.png) [@oooo](https://community.shopify.com/u/oooo)\
**Post date:** [October 2, 2020, 8:34am UTC](https://community.shopify.com/t/topic/22109/1 "2020-10-02T08:34:58Z")

</div>

お客様アカウント作成の際アドレスを登録しますが、

入れてほしくない文字など制限は可能でしょうか？

---

<div class="post-metadata">

**Author:** ![junichiokamura](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/junichiokamura/32/299737_2.png) [@junichiokamura](https://community.shopify.com/u/junichiokamura)\
**Post date:** [October 12, 2020, 5:32pm UTC](https://community.shopify.com/t/topic/22109/2 "2020-10-12T17:32:44Z")

</div>

テーマのコード編集で、customer/register.liquid 内にそういったJavaScriptを挿入すれば可能かと思います。

[https://shopify.dev/docs/themes/files/customers-register-liquid](https://shopify.dev/docs/themes/files/customers-register-liquid)
