|Case Summary: How can I make the company field required on the Customer Self Registration page?
|Date Created: ||12/05/2005|
|Last Modified: ||12/05/2005|
|Problem Type: ||Question|
To do this, you can follow some of the existing code in the DoRegistrations.asp module and change the code for the company field and make it required. This is around line 84 of this module.
In the DoRegistration.asp module, you will see the code:
If Customer_Password = "" Then
ErrorMessage = ErrorMessage & "<LI> " & wc_Password_Required_Block
copy and paste these same three lines into the lines:
If Company = "" Then
ErrorMessage = ErrorMessage & "<LI> " & " Company field is required"