Explorar el Código

Added mobile number in edit user profile web form (#3766)

updated mobile number is required to login using mobile number
version-14
omkarghaisas hace 8 años
committed by Rushabh Mehta
padre
commit
fad9c91cfe
Se han modificado 1 ficheros con 32 adiciones y 1 borrados
  1. +32
    -1
      frappe/core/web_form/edit_profile/edit_profile.json

+ 32
- 1
frappe/core/web_form/edit_profile/edit_profile.json Ver fichero

@@ -1,17 +1,24 @@
{
"accept_payment": 0,
"allow_comments": 0,
"allow_delete": 0,
"allow_edit": 1,
"allow_incomplete": 0,
"allow_multiple": 0,
"allow_print": 0,
"amount": 0.0,
"amount_based_on_field": 0,
"breadcrumbs": "[{\"title\": _(\"My Account\"), \"route\": \"me\"}]",
"creation": "2016-09-19 05:16:59.242754",
"doc_type": "User",
"docstatus": 0,
"doctype": "Web Form",
"idx": 0,
"introduction_text": "",
"is_standard": 1,
"login_required": 1,
"modified": "2016-09-24 04:31:41.920694",
"max_attachment_size": 0,
"modified": "2017-07-24 12:14:04.039284",
"modified_by": "Administrator",
"module": "Core",
"name": "edit-profile",
@@ -29,6 +36,8 @@
"fieldtype": "Data",
"hidden": 0,
"label": "First Name",
"max_length": 0,
"max_value": 0,
"read_only": 0,
"reqd": 1
},
@@ -37,6 +46,8 @@
"fieldtype": "Data",
"hidden": 0,
"label": "Middle Name (Optional)",
"max_length": 0,
"max_value": 0,
"read_only": 0,
"reqd": 0
},
@@ -45,6 +56,8 @@
"fieldtype": "Data",
"hidden": 0,
"label": "Last Name",
"max_length": 0,
"max_value": 0,
"read_only": 0,
"reqd": 0
},
@@ -54,6 +67,8 @@
"fieldtype": "Attach",
"hidden": 0,
"label": "User Image",
"max_length": 0,
"max_value": 0,
"read_only": 0,
"reqd": 0
},
@@ -61,6 +76,8 @@
"fieldtype": "Section Break",
"hidden": 0,
"label": "More Information",
"max_length": 0,
"max_value": 0,
"read_only": 0,
"reqd": 0
},
@@ -69,6 +86,18 @@
"fieldtype": "Data",
"hidden": 0,
"label": "Phone",
"max_length": 0,
"max_value": 0,
"read_only": 0,
"reqd": 0
},
{
"fieldname": "mobile_no",
"fieldtype": "Data",
"hidden": 0,
"label": "Mobile Number",
"max_length": 0,
"max_value": 0,
"read_only": 0,
"reqd": 0
},
@@ -78,6 +107,8 @@
"fieldtype": "Link",
"hidden": 0,
"label": "Language",
"max_length": 0,
"max_value": 0,
"options": "Language",
"read_only": 0,
"reqd": 0


Cargando…
Cancelar
Guardar