fix: checkbox for terms of use

This commit is contained in:
Jannat Patel
2021-12-21 15:41:32 +05:30
parent 7d9b60c16a
commit 6188c698e3
10 changed files with 170 additions and 87 deletions

View File

@@ -7,11 +7,12 @@
"field_order": [
"livecode_url",
"email_sender",
"verify_age",
"column_break_2",
"force_profile_completion",
"show_search",
"search_placeholder",
"terms_of_use",
"terms_page",
"mentor_request_section",
"mentor_request_creation",
"mentor_request_status_update"
@@ -62,23 +63,30 @@
"fieldtype": "Data",
"label": "Search Field Placeholder"
},
{
"default": "0",
"fieldname": "verify_age",
"fieldtype": "Check",
"label": "Verify Age during Signup"
},
{
"default": "0",
"fieldname": "force_profile_completion",
"fieldtype": "Check",
"label": "Force users to complete their Profile"
},
{
"default": "0",
"fieldname": "terms_of_use",
"fieldtype": "Check",
"label": "Show Terms of Use on Signup"
},
{
"depends_on": "terms_of_use",
"fieldname": "terms_page",
"fieldtype": "Link",
"label": "Terms of Use Page",
"options": "Web Page"
}
],
"index_web_pages_for_search": 1,
"issingle": 1,
"links": [],
"modified": "2021-12-21 11:32:28.196404",
"modified": "2021-12-21 12:17:07.734189",
"modified_by": "Administrator",
"module": "LMS",
"name": "LMS Settings",
@@ -98,4 +106,4 @@
"sort_field": "modified",
"sort_order": "DESC",
"track_changes": 1
}
}

View File

@@ -21,7 +21,7 @@
"is_standard": 1,
"login_required": 1,
"max_attachment_size": 0,
"modified": "2021-12-21 11:05:56.505121",
"modified": "2021-12-21 14:58:56.943438",
"modified_by": "Administrator",
"module": "LMS",
"name": "profile",
@@ -231,6 +231,19 @@
"max_value": 0,
"options": "Work Experience",
"read_only": 0,
"reqd": 1,
"show_in_filter": 0
},
{
"allow_read_on_all_link_options": 0,
"fieldname": "volunteering_or_internship",
"fieldtype": "Table",
"hidden": 0,
"label": "Volunteering or Internship",
"max_length": 0,
"max_value": 0,
"options": "Work Experience",
"read_only": 0,
"reqd": 0,
"show_in_filter": 0
},