![]() |
how to make phone number field optional when reg... (fixed)
i waded through register.php and 3 pages of search results with no luck. anyone know this one?
|
Look for this (about line 104 in include/register.php):
Code:
$fillerror = (empty($uname) || !empty($error) || empty($passwd1) || empty($passwd2) || ($passwd1 != $passwd2) || empty($firstname) || empty($lastname) || empty($b_address) || empty($b_city) || (!empty($states) && empty($b_state)) || empty($b_country) || empty($b_zipcode) || empty($phone) || empty($email)); Take out the phone part and I think you should be good to go. Carrie |
sorry, i shoulda mentioned i already did that. it's still the same, even after i did cleanup.php. well...i think maybe it can process without the phone #, but people won't know that until i get rid of that star...
ok, i went and found skin1/main/register_contact_info.tpl and changed <tr valign=middle> <td align=right>{$lng.lbl_phone}</td> <td><font class=Star>*</font></td> to <tr valign=middle> <td align=right>{$lng.lbl_phone}</td> <td></td> done :wink: |
All times are GMT -8. The time now is 06:44 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.