import validations
This commit is contained in:
parent
c7c9e2aa73
commit
b48ec59a01
@ -144,9 +144,18 @@ function vaildateBeforeOpenModal()
|
||||
}
|
||||
else if($('#Dispatch').val() == '' && $('#Scheduleby').val() == '')
|
||||
{
|
||||
alert('Please Enter the Dispatch Instruction');
|
||||
$('#Dispatch').focus();
|
||||
return false;
|
||||
if(document.getElementById("Schedule").checked)
|
||||
{
|
||||
alert('Please Enter Schedule By');
|
||||
return false;
|
||||
}
|
||||
|
||||
else if(document.getElementById("Date").checked)
|
||||
{
|
||||
alert('Please Enter Dispatch Instruction');
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
else if($('#currencytype').val() == '0')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user