I am trying to make my referral field required. I know the customers won't always be honest when they fill in the text box, but the bossman wants this feature. I went to my includes/modules/pages/create_account/jscript_form_check.php and added the following code:
Then I went to includes/languages/MYTEMPLATE/english.php and added the following bit of code:Code:// referral required begin check_input("customers_referral", "", "<?php echo ENTRY_CUSTOMERS_REFERRAL_ERROR; ?>"); // referral required end
When I view my source, it looks like everything is being called out properly, but the required field does not seem to be working. Anyone have an idea?Code:define('ENTRY_CUSTOMERS_REFERRAL_ERROR', 'Please let us know how you heard about StudioStyles.net');
Login URL:



