How do you script to override the typed in Mandatory Message for any given field.
In particular, I have a Component that contains multiple fields. The component is used several times in the Form for different categories of data. I have the Field Labels set to pickup a Component Property that identifies the current Parent usage and displays an appropriate field label.
But, the Mandatory Messages do not reflect those specific labels, and all script I try to put in the Maestro UI just appears as raw text. I tried returning Text from the If Mandatory, like you do for Validations, did not work. I tried just having a Validation set to throw an error if there was no value, but the Validation is never triggered in this case, so does not work either.
Try changing the item's mandatoryMsg property as discussed here: Dynamic data in maestro mandatory message