Page 1 of 1
Identify no blank fields
Posted: Mon Sep 10, 2018 12:52 pm
by Timo
Hello,
I want to colour the mandatory fields with JavaScript or css. I analyzed the attributes and classes of the mandatory objects but found no clue. How do I know which objects have a "no blank "-validation?
Re: Identify no blank fields
Posted: Wed Sep 12, 2018 4:12 am
by admin
Timo,
The Label of the Object holds the answer...
dupe.PNG
You could try this...
Code: Select all
$('.nuDuplicate').each(function( index ) {
var i = $(this)[0].id.substr(6);
$('#' + i).addClass('nuDuplicateField')
$('#' + i + 'code').addClass('nuDuplicateField') //-- for Lookups
});
Steven
Re: Identify no blank fields
Posted: Tue Jan 01, 2019 7:34 pm
by Timo
Thank you!
Re: Identify no blank fields
Posted: Tue Jan 01, 2019 9:26 pm
by admin
.
Re: Identify no blank fields
Posted: Wed Jul 10, 2019 12:06 pm
by Tinka
Would that be the same for nuBuilder 3? I can't find the label .nuDuplicate for objects with No blanks.
Screen Shot 556.PNG