phone validate isn't working

  • linghun
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago - 8 years 8 months ago #101509 by linghun
phone validate isn't working was created by linghun
how to solve?
Last edit: 8 years 8 months ago by linghun.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #101516 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic phone validate isn't working
Hello

Maybe there are some javascript conflict causing the issue. Could you please send us the link to registration form so that I can take a look at it?

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #103586 by Dante O
Replied by Dante O on topic phone validate isn't working
Hello Tuan,

Dante Orazzi here.

Our client is now also asking for a standard Phone Number format in the Phone field.

We have changed the "Date type validation" type to "Phone"

The following appears in "Validation rules" - validate[required,custom[phone]]

However there is no defined format such as: (801) 223-2176 or 801-223-2176.

Is it possible to solve this or to get a verified format?

We will pay for help with this service.

Thanks,

Dante

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #103593 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic phone validate isn't working
Hi Dante

We use a library called jQuery Validation Engine for validation posabsolute.github.io/jQuery-Validation-Engine

Honestly, I am not good enough for this kind of customization (I am not really good in javascript), so if you want to change it, maybe find someone who is good at javascript to do the change for you

The file needs to be changed is components/com_eventbooking/helper/jquery.php, the code is around line 282

I am sorry for could not help better with this issue/requirement

Tuan

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #103598 by Dante O
Replied by Dante O on topic phone validate isn't working
Thanks Tuan,

If you know someone who is proficient in this type of javascript work please refer them to me. Otherwise, I will find a developer.

When I get the customization done, I will share it with you and your team.

The information you provided is very helpful

Regarding EventsBooking upgrades, does this file "jquery.php" update when we update EventsBooking?

If yes, I assume we can simply restore the original file with our customizations; is that a good solution for updates in your opinion?

Thanks,

Dante

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #103599 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic phone validate isn't working
Hi Dante

I don't know anyone who can do this job. So please try to find a developer to do it for you

Once you had it working, send me the file. I will help implement it using override so that you won't have to restore it after updating to future releases of the extension

Tuan

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #103600 by Dante O
Replied by Dante O on topic phone validate isn't working
Thanks Tuan.

I will find someone. I have plenty of time (1.5 months).
I will send you the file for sure.
Thanks for the information on the override - that will be very helpful.

THANK YOU!!

Dante

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #103607 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic phone validate isn't working
OK. Good luck and thanks !

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc