Este Hook para WHMCS 8.11.2 estandariza y formatea automáticamente los datos ingresados en los formularios de registro y checkout antes de guardarlos en la base de datos. La funcionalidad incluye:
- Los campos nombre, apellido, dirección, ciudad y provincia/estado se ajustan para que cada palabra inicie con mayúscula y el resto se mantenga en minúsculas, independientemente de cómo el usuario los ingrese.
- El campo empresa se convierte completamente a mayúsculas.
- El campo email se guarda en minúsculas.
Este hook garantiza una base de datos más organizada y coherente, facilitando su uso en procesos futuros.
This Hook for WHMCS 8.11.2 standardizes and formats the data entered in the registration and checkout forms before saving it to the database. The functionality includes:
- The first name, last name, address, city, and state/province fields are adjusted so that each word starts with an uppercase letter while the rest remain in lowercase, regardless of how the user enters the data.
- The company field is converted entirely to uppercase.
- The email field is saved in lowercase.
- This hook ensures a more organized and consistent database, making it easier for future use.
- Sube este hook en el directorio "/includes/hooks/" de tu WHMCS.
- Upload this hook into your WHMCS directory: "includes/hooks/"