Commit 42bc0949 by Kunj Gupta

Fixed - Issue#4 - v0.0.1:V-Portal: show required in red color.

parent d9625e90
...@@ -668,8 +668,10 @@ public class CatalogueVariableScreen extends HandleNotificationActivity { ...@@ -668,8 +668,10 @@ public class CatalogueVariableScreen extends HandleNotificationActivity {
} }
} }
if(hasErrors) if(hasErrors) {
Toast.makeText(this, R.string.variable_form_mandatory_toast_string, Toast.LENGTH_SHORT).show();
return; return;
}
jsonArray = new JSONArray(); jsonArray = new JSONArray();
jsonArray.put(jsonObject); jsonArray.put(jsonObject);
......
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
<string name="password_string">Password</string> <string name="password_string">Password</string>
<!--Variable Screen--> <!--Variable Screen-->
<string name="variable_form_mandatory_toast_string">Fields marked with an asterisk(*) are mandatory.</string>
<string name="variable_form_misc_info_string">%1$s [add %2$.2f]</string> <string name="variable_form_misc_info_string">%1$s [add %2$.2f]</string>
<string name="variable_form_header_string">Submit Order</string> <string name="variable_form_header_string">Submit Order</string>
<string name="variable_form_view_mandatory_sign_string">&lt;font color="#FF0000"&gt;*&lt;/font&gt;</string> <string name="variable_form_view_mandatory_sign_string">&lt;font color="#FF0000"&gt;*&lt;/font&gt;</string>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<color name="colorPrimaryDark">#6F9A3E</color> <color name="colorPrimaryDark">#6F9A3E</color>
<color name="colorAccent">#6F9A3E</color> <color name="colorAccent">#6F9A3E</color>
<color name="item_gb_color">#000000</color> <color name="item_gb_color">#000000</color>
<color name="error_color">#6F9A3E</color> <color name="error_color">#FF0000</color>
<color name="name_null_view_color">#88FFA500</color> <color name="name_null_view_color">#88FFA500</color>
<color name="view_not_implemented_color">#6F9A3E</color> <color name="view_not_implemented_color">#6F9A3E</color>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment