Hi,
I am trying to do some validation in DA and when error comes i want to show Error inline with Item.
But i dont know how to achieve the same using Java script.
Can anyone support me here ?
I have wrote JS code and here only i have to add Inline with Item code to show error.
if (apex.item( "P9_NEW" ).getValue()=="")
{
apex.message.alert( "P9\_NEW is null", function(){
afterLoad();
});
}
else if (apex.item("P9_NEW_1").getValue() == "")
{
apex.message.alert( "P9\_NEW\_1 is null", function(){
afterLoad();
});
}
It should display like below:
