Hi,

I have one question about hash variable, example below:

I use js cord below in hash variable,

   var test = "so00001";

   #form.order.amount[ + test +]#

this I don't try it by now.

Would you please tell me any one can be realized?

Its really urgent for me right now?

Hope one of them is working.

Looking forward to your support soon!

Thanks and Best Regards!

Gene

  • No labels

2 Comments

  1. Hi Gene,

    Joget will only interpret and parse any qualifying hash variable at the time of generation/creation of supported elements (such as form).

    Having said that, Joget will not be able to parse any new hash variable created in your script.

    For example, the following will NOT work.

    var test = "so00001";
    #form.order.amount[ + test +]#

    But this will work.

    var test = "#form.order.amount[so00001]#";

    Hope this helps.

    Cheers.

  2. Hi 

    var test = "so00001";
    #form.order.amount[ + test +]#
    Any way to achieve this?