P
P
photosho2020-02-28 09:57:00
1C-Bitrix
photosho, 2020-02-28 09:57:00

BX.PhoneNumber is undefined?

When calling "BX.validation.checkIfPhone(phone);" the following error occurs:

TypeError: BX.PhoneNumber is undefined


Perhaps something is not connected?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PetrPo, 2020-02-28
@photosho

I didn’t check it myself, but if you google BX.PhoneNumber there will be a link but docks, connect the library
CJSCore::Init(['phone_number']);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question