Identify no blank fields

Questions related to using nuBuilder Forte.

Identify no blank fields

Postby Timo » Mon Sep 10, 2018 8:22 pm

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?
Timo
 
Posts: 168
Joined: Fri Mar 16, 2018 5:56 am

Re: Identify no blank fields

Postby admin » Wed Sep 12, 2018 11:42 am

Timo,

The Label of the Object holds the answer...

dupe.PNG
dupe.PNG (45.71 KiB) Viewed 553 times


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
admin
Site Admin
 
Posts: 3081
Joined: Mon Jun 15, 2009 9:53 am

Re: Identify no blank fields

Postby Timo » Wed Jan 02, 2019 4:04 am

Thank you!
Timo
 
Posts: 168
Joined: Fri Mar 16, 2018 5:56 am

Re: Identify no blank fields

Postby admin » Wed Jan 02, 2019 5:56 am

.
admin
Site Admin
 
Posts: 3081
Joined: Mon Jun 15, 2009 9:53 am

Re: Identify no blank fields

Postby Tinka » Wed Jul 10, 2019 7:36 pm

Would that be the same for nuBuilder 3? I can't find the label .nuDuplicate for objects with No blanks.

Screen Shot 556.PNG
Screen Shot 556.PNG (13.1 KiB) Viewed 55 times
Tinka
 
Posts: 72
Joined: Mon Feb 24, 2014 11:28 pm


Return to General