N
N
nikita1sm2019-07-03 11:06:04
1C-Bitrix
nikita1sm, 2019-07-03 11:06:04

The bitrix:sale.order.ajax component in the user block is substituted with an extra 7 in the phone number when changing the payment method. How to fix?

We fill in all the blocks in the form:
Delivery
method Payment method
User (full name, phone, email)
Then, we change the payment method, and the User form is updated and an extra 7 is inserted in the phone number field at the very beginning, and the phone number moves to the right. This seven eats up the last digit, replacing it with itself at the very beginning.
For example, it was like this:
+7 (966) 666-66-61
after changing the form of payment is already like this:
+7 (796) 666-66-66

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sierre, 2019-07-03
@sierre

Somehow I came across such a topic, the problem was in the phone input mask.

B
bkfl, 2020-07-08
@bkfl

why an extra 7 is substituted in the 1s Bitrix phone number

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question