Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Identify no blank fields

Questions related to using nuBuilder Forte.
Post Reply
Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

Identify no blank fields

Unread post 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?
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Identify no blank fields

Unread post 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
You do not have the required permissions to view the files attached to this post.
Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

Re: Identify no blank fields

Unread post by Timo »

Thank you!
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Identify no blank fields

Unread post by admin »

.
Tinka
Posts: 73
Joined: Mon Feb 24, 2014 2:58 pm

Re: Identify no blank fields

Unread post 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
You do not have the required permissions to view the files attached to this post.
Post Reply