diff --git a/lms/envs/aws.py b/lms/envs/aws.py
index 7fe8d8e10f..1506891051 100644
--- a/lms/envs/aws.py
+++ b/lms/envs/aws.py
@@ -119,6 +119,7 @@ EMAIL_USE_TLS = ENV_TOKENS.get('EMAIL_USE_TLS', False) # django default is Fals
SITE_NAME = ENV_TOKENS['SITE_NAME']
SESSION_ENGINE = ENV_TOKENS.get('SESSION_ENGINE', SESSION_ENGINE)
SESSION_COOKIE_DOMAIN = ENV_TOKENS.get('SESSION_COOKIE_DOMAIN')
+REGISTRATION_OPTIONAL_FIELDS = ENV_TOKENS.get('REGISTRATION_OPTIONAL_FIELDS', REGISTRATION_OPTIONAL_FIELDS)
CMS_BASE = ENV_TOKENS.get('CMS_BASE', 'studio.edx.org')
diff --git a/lms/envs/common.py b/lms/envs/common.py
index df83bc9218..33301d1f31 100644
--- a/lms/envs/common.py
+++ b/lms/envs/common.py
@@ -1044,3 +1044,14 @@ if MITX_FEATURES.get('AUTH_USE_CAS'):
)
INSTALLED_APPS += ('django_cas',)
MIDDLEWARE_CLASSES += ('django_cas.middleware.CASMiddleware',)
+
+###################### Registration ##################################
+
+# Remove some of the fields from the list to not display them
+REGISTRATION_OPTIONAL_FIELDS = set([
+ 'level_of_education',
+ 'gender',
+ 'year_of_birth',
+ 'mailing_address',
+ 'goals',
+])
diff --git a/lms/templates/register.html b/lms/templates/register.html
index 54fdf34786..e0c1c333f9 100644
--- a/lms/templates/register.html
+++ b/lms/templates/register.html
@@ -185,6 +185,7 @@
${_("Optional Personal Information")}
+ % if 'level_of_education' in settings.REGISTRATION_OPTIONAL_FIELDS:
-
@@ -195,7 +196,10 @@
%endfor
-
+
+ % endif
+ % if 'gender' in settings.REGISTRATION_OPTIONAL_FIELDS:
+ -
-
+
+ % endif
+ % if 'year_of_birth' in settings.REGISTRATION_OPTIONAL_FIELDS:
+ -
+ % endif
@@ -223,15 +231,19 @@
${_("Optional Personal Information")}
+ % if 'mailing_address' in settings.REGISTRATION_OPTIONAL_FIELDS:
-
+ % endif
+ % if 'goals' in settings.REGISTRATION_OPTIONAL_FIELDS:
-
+ % endif
diff --git a/lms/templates/signup_modal.html b/lms/templates/signup_modal.html
index 4b13bebb04..345ce8bbf9 100644
--- a/lms/templates/signup_modal.html
+++ b/lms/templates/signup_modal.html
@@ -1,6 +1,7 @@
<%! from django.utils.translation import ugettext as _ %>
<%namespace name='static' file='static_content.html'/>
+<%! from django.conf import settings %>
<%! from django.core.urlresolvers import reverse %>
<%! from django_countries.countries import COUNTRIES %>
<%! from student.models import UserProfile %>
@@ -57,6 +58,8 @@