Is there a way to automatically remove spaces and dashes in the phone field. So that if the client enters the telephone number in the wrong format it will automatically be corrected.

Hi, is there a way to automatically remove spaces and dashes in the phone field. So that if the client enters the telephone number in the wrong format it will automatically be corrected.

example client input like this:
+60 1234-56789

Autofix to:
+60123456789

I’m currently using the additional Smart phone field for Gravity Forms plugin to add flags and use the phone field (international)

The form is on this page: https://www.unimy.edu.my/enquire-now/

As you created also a support ticket, that was already replied, I’m closing this to avoid duplication.