New Zenner
- Join Date:
- Jun 2006
- Posts:
- 8
- Plugin Contributions:
- 0
How to make an account signup field required
I have found many references regarding making a field a required field, however, I have not been able to accomplish this using any of the ideas I have found here. The "solutions" noted here have been vague and none specific. The closest I have got to finding where the solution might be located is noted below. If any one could help me with this it would be greatly appreciated. I am trying to change the a Company field on my account signup page to be a required field.
I found this code area I thought might be the area to edit. The email field is a required field, the code is shown and is quite different from the ACCONT_COMPANY code. Perhaps someone smarter than I could figure out how to do this.
INCLUDES/MODULES/PAGES/CREATE_ACCOUNT/jscript_form_check.php
<?php if (ACCOUNT_COMPANY == 'true' && (int)ENTRY_COMPANY_MIN_LENGTH != 0) echo ' check_input("company", ' . (int)ENTRY_COMPANY_MIN_LENGTH . ', "' . ENTRY_COMPANY_ERROR . '");' . "\n"; ?> <?php if ((int)ENTRY_EMAIL_ADDRESS_MIN_LENGTH > 0) { ?>check_input("email_address", <?php echo (int)ENTRY_EMAIL_ADDRESS_MIN_LENGTH; ?>, "<?php echo ENTRY_EMAIL_ADDRESS_ERROR; ?>");
<?php } ?>