asked on February 23, 2015
I tried by using this code
q148 is the message text to show
q149 is a validation filed that the lookup will filled if it found something
I used the similar code for validation of a PO number but by usingg a button I created. but for this autofield button that is come by the validation of 2 lookup field and Inside a table field, I cannot make it work
$(document).ready(function () {
$('#q148').hide();
$('#q149').hide();
// $('#q125 input').click(function () {
// $('.autofill').click(function () {
$('.autofill input').click(function () {
setTimeout(function() {
if ($('#q149 input').val()> "0"){
$('#q148').hide();
}
else
{
$('#q148').show();
}
}, 300);
})
})
0
0