Hello All, Is there a way to make a field required on the registration form? I want to make company name required. Also, is it difficult to extend the fields in the registration form?
Is there a way to make a field required on the registration form?
1. Open \Presentation\Nop.Web\Validators\Customer\RegisterValidator.cs file 2. Add the following line to it: RuleFor(x => x.Company).NotEmpty().WithMessage("Company is required");
madv1457 wrote:
Also, is it difficult to extend the fields in the registration form?
No. Have a look at changeset a179ce882d6b (will be included in v2.20)