Commit 47578fce authored by spawar's avatar spawar

Added Changes for validate product type is mandatory.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99887 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0b53591c
...@@ -1459,6 +1459,14 @@ ...@@ -1459,6 +1459,14 @@
document.getElementById("Detail"+formNo+"."+domNo+".descr").focus(); document.getElementById("Detail"+formNo+"."+domNo+".descr").focus();
return false; return false;
} }
//Changed by samadhan on 13/01/2015 for Product Type validation Start
else if (document.getElementById("Detail"+formNo+"."+domNo+".item_type") != null && document.getElementById("Detail"+formNo+"."+domNo+".item_type").value == "")
{
alert("Please Select Product Type.");
document.getElementById("Detail"+formNo+"."+domNo+".item_type").focus();
return false;
}
//Changed by samadhan on 13/01/2015 for Product Type validation End
else if (!setLanguageListDetails()) else if (!setLanguageListDetails())
{ {
return false; return false;
......
...@@ -508,6 +508,14 @@ ...@@ -508,6 +508,14 @@
document.getElementById("Detail1.1.descr").focus(); document.getElementById("Detail1.1.descr").focus();
return false; return false;
} }
//Changed by samadhan on 13/01/2015 for Product Type validation Start
else if (document.getElementById("Detail1.1.item_type").value == "")
{
alert("Please Select Product Type.");
document.getElementById("Detail1.1.item_type").focus();
return false;
}
//Changed by samadhan on 13/01/2015 for Product Type validation end
else if (document.getElementById("Detail1.1.item_ser").value == "") else if (document.getElementById("Detail1.1.item_ser").value == "")
{ {
alert("Please Select Item Series."); alert("Please Select Item Series.");
......
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
</tr> </tr>
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_leftAlign" nowrap="true">
<strong>Product Type :</strong> <strong>Product Type* :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<div style="position:relative; width: 88%;"> <div style="position:relative; width: 88%;">
......
...@@ -196,7 +196,7 @@ function setActionVal( value ) ...@@ -196,7 +196,7 @@ function setActionVal( value )
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_leftAlign" nowrap="true">
<strong>Product Type :</strong> <strong>Product Type* :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<div style="position:relative; width: 88%;"> <div style="position:relative; width: 88%;">
...@@ -220,7 +220,7 @@ function setActionVal( value ) ...@@ -220,7 +220,7 @@ function setActionVal( value )
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_leftAlign" nowrap="true">
<strong>Item Series :</strong> <strong>Item Series* :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
...@@ -298,7 +298,7 @@ function setActionVal( value ) ...@@ -298,7 +298,7 @@ function setActionVal( value )
<!--added by samadhan on 23/12/2015 for brand,limited edition and stop purchase start--> <!--added by samadhan on 23/12/2015 for brand,limited edition and stop purchase start-->
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_leftAlign" nowrap="true">
<strong>Brand :</strong> <strong>Brand* :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
......
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 to comment