Change color of fields. Select all fields of a class

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Phoenix
Posts: 23
Joined: Wed Dec 10, 2014

27 Jun 2015

Thank you. I used almost the same code as you provided.

$.each($('[fd_name]'), function() {

if ($(this).find('.required').length > 0 ) {

if (alertMessage == undefined) {

alertMessage = "Please fill in the following fields: \n";

}

if (fd.field($(this).attr('fd_name')).titleText() == "") {

alertMessage += i + ": marked with the red asterix or red dotted border \n";

} else {

alertMessage += i + ": " + fd.field($(this).attr('fd_name')).titleText() + "\n";

}

i++;

}

})



With css for the dropdowsn , adding the !important; did the trick

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests