1
0
-1

Hello,

Is it possible to dynamically create mandatory message for fields in Maestro?

I have a static text and also some data that I would like to inject into that text and show as field mandatory message i.e 'This is example mandatory message {{some.data}}'

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hi,

      You could construct a value from constants/variables and set the mandatoryMsg property on the item something like this:

      Form.getItemFromPath('data.dropdown').mandatoryMsg = 'You must pick ' + someDataField;

        CommentAdd your comment...