Hi
i want to add a validation that check item is not null, i add this:

i add a javascript code when the validation is true:

alert('origine est null');
document.getElementById("P6_ORIGINE").focus();
i want user to return to the empty item after the error message.
but the page go to endless loop of displaying the alert.
this line of code cause the endless loop : document.getElementById("P6_ORIGINE").focus();
How to do that without blocking the page.