バージョン選択

フォーラム

メニュー

オンライン状況

48 人のユーザが現在オンラインです。 (37 人のユーザが フォーラム を参照しています。)
登録ユーザ: 2
ゲスト: 46
red nanasess もっと...

サイト内検索

質問 > フロント機能 > お客様情報の入力における使用文字の制限について

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
umebius
投稿日時: 2019/6/2 21:08
対応状況: −−−
登録日: 2016/7/22
居住地:
投稿: 2085
Re: お客様情報の入力における使用文字の制限について
おそらくこのような形かと思います。



->add('address', 'address', array(
                'addr01_options' => array(
                    'constraints' => array(
                        new Assert\NotBlank(),
                        new Assert\Regex('/^[^",]+$/'),
                        new Assert\Length(array(
                            'max' => $this->config['mtext_len'],
                        )),
                    ),
                ),
                'addr02_options' => array(
                    'required' => false,
                    'constraints' => array(
                        new Assert\NotBlank(),
                        new Assert\Regex('/^[^",]+$/'),
                        new Assert\Length(array(
                            'max' => $this->config['mtext_len'],
                        )),
                    ),
                ),
            ))
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   お客様情報の入力における使用文字の制限について yshow 2019/5/23 9:43
     Re: お客様情報の入力における使用文字の制限について umebius 2019/5/23 9:48
       Re: お客様情報の入力における使用文字の制限について yshow 2019/6/2 11:17
       » Re: お客様情報の入力における使用文字の制限について umebius 2019/6/2 21:08
           Re: お客様情報の入力における使用文字の制限について yshow 2019/6/3 17:03

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,689名です
総投稿数は109,934件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1638
8
red
1569
9
mcontact
1280
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.