default value in currency fields

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • piedpulse
    Member
    • Oct 2017
    • 60

    default value in currency fields

    Hi, i can't find default value in currency field.
    Is it possible to set it?

    Thanks
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hi,
    you can try to set it in entityDefs in field definition. After rebuild. Possibly you need to set the default field Currency as well ("amountCurrency": {"default":"USD"})

    "default": 120,

    Comment

    • piedpulse
      Member
      • Oct 2017
      • 60

      #3
      Originally posted by tanya
      Hi,
      you can try to set it in entityDefs in field definition. After rebuild. Possibly you need to set the default field Currency as well ("amountCurrency": {"default":"USD"})

      "default": 120,
      Thank you Tanya

      Comment

      • piedpulse
        Member
        • Oct 2017
        • 60

        #4
        It works! Thank you again!

        Comment

        • brianpunzalan
          Active Community Member
          • Aug 2017
          • 62

          #5
          this is great. but it would be good feature to let it be included in the frontend "Entity Manager" so that non-technical users could attach default currency amounts and default currency on a specific currency field without going through entityDefs.

          Comment

          Working...