Hi everyone, I just want to have only 10 numbers in the phone field. I don't need area field seperatly.
I want to remove the "area code" on phone number field. There's many similar topics but there's no proper solution yet.
Based on this forum topic -https://forum.flynax.com/showthread.php?2699-Phone-no-field-Delete-remove-Area-code
I think these are the two files need to be edited for removing area code
/public_html/admin/tpl/blocks/account_field.tpl
/public_html/templates/general_nova/tpl/blocks/reg_account.tpl
---
I enabled two digits by following #Rudi code
admin > tpl > blocks > fields > add_edit_form.tpl > find <!-- phone number field -->
Code:
Only registered members can view the code.
---
Also i want to add +91 country code by default to the phone number, when i use sms activation plugin.
I think this is the file shoule be edited for adding default +91 to the phone number field
/plugins/smsActivation/rlSmsActivation.class.php
I know, i can add it via data entries by enabling default. But i will use this phone number field for login purpose in future. So, it will be problem to have country code. My site is for only one country, so i don't need to have it on data entries field. Instead i need to have default code on sms activation plugin. Finally, I just want to have only 10 numbers in "number" field without using country code, area.
Please help me to remove area code & add default country code to phone number field.