I just encountered a situation in the Layout Designer where I would use Field Rules, but it'll need to apply to hundreds of fields, so I'm using Javascript instead.
The fields I want to target need a CSS Class added to them under certain circumstances, so the new expanded Field Rules would be my go-to. However, there are so many of the fields, and I want to keep it as easy as possible to add/modify these fields in the future, so it is kind of daunting to use the Field Rules in this case. It would be a single Field Rule, but would be targeting hundreds of fields.
I decided in this case to use Javascript triggered via changes to the fields to check if they meet the criteria and add or remove the CSS Class as needed. This is working, so it is a valid solution. In this case I am targeting the fields based on another CSS Class that every one of these fields will include.
But it occurs to me that it would be helpful if I could have had the Field Rule target all the fields by criteria instead of selecting each individual field. In this case, the target criteria would be "All fields that have xxx class", but I can certainly see cases where some other options would be useful, such as: "all fields" or "all fields of xxx type" or "all fields where label contains xxx" or "all fields within xxx section" (we can target the section itself for some rules like show/hide/validate, but others like add class would apply to the section not the fields within it). This would be similar to how the custom Error Message rules can target larger groups of fields, it would be nice for Field Rules to be able to do that too.
Forms Version 12.0.2509.20409