How can i make the fax number friend required?
I turned that field into a Tax Id field and need to have it required but cant figure it out for the life of me
Thanks
How can i make the fax number friend required?
I turned that field into a Tax Id field and need to have it required but cant figure it out for the life of me
Thanks
I finally figured it out
includes/modules/YOURTEMPLATE/create_account.php
About Line 72 Find
$fax = zen_db_prepare_input($_POST['fax']);
BELOW ADD
if (strlen($fax) < 4) {
$error = true;
$messageStack->add('create_account', ENTRY_FAX_NUMBER_ERROR);
}
}
I hope this helps someone
Ok but on the Account Edit field it lets you take out the Tax Id number and sumbit it ok,
How do you make it required in that section???
Also how can i get the Company Name to be i nthe account edit page
Okay - here's what I did - basically just copied the "telephone" text from includes'modules\mytemplate\create_account.php down a line or two, and changed the words "telephone" to "fax" - and...
it works.
EXCEPT that it doesn't prompt the user to enter a fax number if they didn't in the first place. Any idea how I can change that, or at least add a nice little red asterisk?