バージョン選択

フォーラム

メニュー

オンライン状況

83 人のユーザが現在オンラインです。 (64 人のユーザが フォーラム を参照しています。)
登録ユーザ: 1
ゲスト: 82
monclerou もっと...

サイト内検索

質問 > フロント機能 > 非会員情報入力フォーム(nonmember)で姓と名に空白を許可したい

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
Mady56
投稿日時: 2024/9/5 17:42
対応状況: −−−
新米
登録日: 2024/9/5
居住地:
投稿: 1
Re: 非会員情報入力フォーム(nonmember)で姓と名に空白を許可したい
To allow spaces in the first and last names in the nonmember information input form without them being removed on the next order checkout screen, you need to override the relevant controllers and modify the validation and formatting logic for the name01 and name02 fields. This involves removing or modifying existing validation rules and preventing spaces from being removed during the checkout process. BTW Contact Olya Black today to discuss yourweb development needs and get started on your project
引用:

sogatatさんは書きました:
▼テンプレート
EC-CUBE 4.2.3
サーバーOS Linux 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
DBサーバー SQLite version 3.40.1
WEBサーバー symfony-cli/5.8.14
PHP 7.4.33 (Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, SPL, iconv, intl, json, mbstring, session, standard, pcntl, mysqlnd, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, Reflection, mysqli, shmop, SimpleXML, soap, sockets, exif, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, Zend OPcache, xdebug)
User Agent Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

非会員情報入力フォーム(nonmember)で姓と名を入力する際に、空白文字を許可したいと思っています。

カスタムExtensionを作成してバリデーションを上書きして空白を許すようにはできたのですが、name01, name02に入力された空白文字は次のご注文手続き画面(/shopping)では除去されてしまいます。

これを除去されないようにするのはどうしたらいいでしょうか。
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   非会員情報入力フォーム(nonmember)で姓と名に空白を許可したい sogatat 2024/9/2 15:11
     Re: 非会員情報入力フォーム(nonmember)で姓と名に空白を許可したい mcontact 2024/9/3 10:41
       Re: 非会員情報入力フォーム(nonmember)で姓と名に空白を許可したい sogatat 2024/9/3 16:52
   » Re: 非会員情報入力フォーム(nonmember)で姓と名に空白を許可したい Mady56 2024/9/5 17:42

 



ログイン


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

統計情報

総メンバー数は107,652名です
総投稿数は112,681件です

投稿数ランキング

1
seasoft
7369
2
468
3217
3
AMUAMU
2712
4
nanasess
2332
5
umebius
2085
6
h_tanaka
2016
7
yuh
1900
8
mcontact
1726
9
red
1582
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
805
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
balisys
502


ネットショップの壺

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

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