Author: mbrohl
Date: Sat Dec 17 20:37:10 2016
New Revision: 1774802
URL:
http://svn.apache.org/viewvc?rev=1774802&view=revLog:
Improved: Client side validation is missing at Create User Login form.
(OFBIZ-7984)
Thanks: Deepak Nigam for reporting and providing the patch.
Modified:
ofbiz/trunk/framework/common/widget/SecurityForms.xml
Modified: ofbiz/trunk/framework/common/widget/SecurityForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/SecurityForms.xml?rev=1774802&r1=1774801&r2=1774802&view=diff==============================================================================
--- ofbiz/trunk/framework/common/widget/SecurityForms.xml (original)
+++ ofbiz/trunk/framework/common/widget/SecurityForms.xml Sat Dec 17 20:37:10 2016
@@ -67,8 +67,8 @@ under the License.
<auto-fields-service service-name="createUserLogin"/>
<field name="partyId"><hidden/></field>
<field name="enabled"><hidden/></field>
- <field name="currentPassword"><password/></field>
- <field name="currentPasswordVerify"><password/></field>
+ <field name="currentPassword" required-field="true"><password/></field>
+ <field name="currentPasswordVerify" required-field="true"><password/></field>
<field name="requirePasswordChange">
<drop-down allow-empty="false" no-current-selected-key="N">
<option key="Y" description="${uiLabelMap.CommonY}"/>