You are viewing limited content. For full access, please sign in.

Question

Question

Feature Request: Use field rules to apply CSS Class

asked on February 7, 2023

We have a process where JavaScript is currently being used to change the background-color of a field based on if it is over, under, or matches the value in another field. It would be great if in the new designer we could create CSS classes for each color we would want and then be able to use Field Rules to apply the CSS class to a field based on the required criteria.

For example, the form may be an approval process for invoices where there is a Gross Amount field that equals $15,000. There could then be a table where the AP Clerks code the invoice. If we add a discrepancy field to show if the dollar amount coded is above, below, or matches the Gross Amount, we could change the color of Discrepancy field for visual effect.

2 0

Replies

replied on July 31, 2024

This feature was added in Forms 11 Update 4.

1 0
replied on February 8, 2023

This is a great idea!  There are a ton of times with the Classic Designer that I add or remove classes for a lot of different reasons, so having a way to do that in the Modern Designer would be nice!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.