I was hoping that there was a way to manipulate the css value for a field along the lines of what is discussed here and here
What I am trying to achieve is a Render script that finds the value of a field, checks it's value and then inserts the class type into the required field's label.
Having spent the day researching this I think I am "onto plums" as my granny would have told me (translation: you are sweet out of luck)
Now this is some custom html on a form. In particular, this is a Custom View on a Form.
Have a look at the line that has {StatusSelected} and the following {StatusApproved}.
If I have for example an attribute in the BO called StatusSelected and the values for that can be.... SELECTED or Null ,then the value in the DB will determine the css class that is used for that element.
Thanks Mark!
Wasn't expecting as involved an explanation, that's great.
The issue is that I am trying to get round is on input fields - where their mandatory state is based on other field values, so the HTML route doesn't work in this case.
I've taken a rather crude route to fixing the problem. As the from completion is by a routed wizard I've just manually added the red * to the end of the label. It's inelegant as AIM adds the ':' after the red * so instead of label name:*
it is showing label name*:
Suboptimal, but I have more important things to do at the moment.
For other fields where the interaction is more complex ie for tax registrations, where either no fields are completed or all fields are completed, I have reverted to an HTML cell underneath the field with an evaluation and SHOW SECTION_START