Chee Heong Wong
Hi,
I encounter the issue which the Mandatory field doesn’t take effect after deploy to run time, step as per attachment.
Need the expert the advice which the step is correct or is a product bug? Thanks.
Rex Townsend
Hi Chee Heong Wong,
I believe I see the issue you’re having. In your .required CSS rule, you are saying: “For all p tags inside of a class named required, add an asterisk and color it red”. The problem with this is that the SPARK Text control does not contain a (paragraph) tag for its labels. Instead, SPARK utilized the “label” HTML element. Please change your CSS rule to the code below and let me know how it works for you.
.required label:after {
content: ” *”;
color: red;
}
SPARK Support
I made an entry to our knowledge base articles regarding this question if you’d like something more detailed
https://salientprocess.zendesk.com/hc/en-us/articles/219485068