1
0
-1

Hello,

Can any one help me , how to set Form Options Properties using java script in Avoka Transact Maestro.

Please find the below screenshot for reference.

In the below screen, we have  CardName , Annual Fee and ARP  properties in Form Options.  Here we want to set the values using java script. 

Thanks&Regards,

satya

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Do you mean change them within the published form? This will have no effect, as the options have already been used to set the item properties during publish process.

      Form Options mainly exist in order for form designers to manipulate properties of items that lie within the template but outside of template extension points. If you wish to change these properties at runtime, you would use syntax like this:

      Form.items.myItemId.properties.myProperty = x

      Not all item properties can be dynamically changed at runtime. The kind of things you are displaying may actually be better handled as data values rather than item properties? It's hard to tell without knowing what they are for, but the naming, and the fact you wish to change them at runtime, suggests they are data values rather than component properties? 

      If you contact maestro support (maestro-support@avoka.com) with a link to the form we can review your strategy with regard to these properties and provide advice.

        CommentAdd your comment...