Page 1 of 1

Custom Phone Number

Posted: Wed Aug 09, 2023 7:14 pm
by aessa
there is any way i can add Custom Phone number with only integers, because some of users put text by MISTAKE in the phone number area ??

please brother if you have any idea about it let me know.

because my boss want it to be super perfect.

Re: Custom Phone Number

Posted: Thu Aug 10, 2023 6:50 am
by Klemen
There's no built-in way to do that, you would have to hire a coder to add it for you.

Tell your boss that you keep text because some people want to put "extension", such as "0800-12-25 ext. 24" :lol:

Re: Custom Phone Number

Posted: Thu Aug 10, 2023 8:02 pm
by aessa
Hahahaha, It is true bro, I will tell him that it is a good excuse.

So what php file I should change the code for.

I tried yesterday. But It always gives me error. Access denied, I'm trying to add it to Custom category. With text, Select box, radio button....etc.

But I always get this error.

If you can make it easy for me and tell me which file / files I have to change.


Thank you very much

Re: Custom Phone Number

Posted: Thu Aug 10, 2023 8:06 pm
by Klemen
There is no simple answer for that because code for custom fields is handled in many files (I don't have a list ready).

Please consult a PHP developer as such customizations are out of the scope of our support.