AbanteCart Community

Shopping Cart Operations => Support => Topic started by: Qhalifh on January 05, 2015, 03:38:41 AM

Title: Make Telephone Number Compulsory
Post by: Qhalifh on January 05, 2015, 03:38:41 AM
Hi,

How to make telephone number compulsory?

Thank you. :)(https://lh3.googleusercontent.com/-BoensTD4S0Y/VKpNBUjHnsI/AAAAAAAAEFc/PHV-VnkfBGQ/w450-h370-no/acc.jpg)
Title: Re: Make Telephone Number Compulsory
Post by: abantecart on January 05, 2015, 09:14:04 AM
This will help you.
http://forum.abantecart.com/index.php/topic,417.msg1257.html#msg1257

In earlier versions telephone number was required.
Title: Re: Make Telephone Number Compulsory
Post by: Qhalifh on January 05, 2015, 10:53:50 AM
Thank you for fast reply. After added

'required' => true ));

at create.php, I got this message

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/xxxx/public_html/storefront/controller/pages/account/create.php on line 159
Title: Re: Make Telephone Number Compulsory
Post by: yujindeviant on January 05, 2017, 02:47:24 AM
I got the same error message. i'm running on 1.2.9 and there is no way to set telephone field mandatory. Help please! Abantecart Team!