Forums OroPlatform OroPlatform – How do I? Questions How can I create a money field then choose the currency

This topic contains 2 replies, has 2 voices, and was last updated by  thinh2010 1 year, 4 months ago.

  • Creator
  • #30665


    Hi everybody,

    I want to create a Form Type called ‘MyOwnMoneyType’ to display 2 fields: 1 text field for money value and 1 select field for currency. I want to display it in 1 row, so that I dont create 2 normal field (money and currency)

    So my code will be like that:

    I already created a new form type, add 2 these fields in BuildForm, but I dont know how to parse the name of the field (in my case is ‘cost’) to the text field inside it.

    Anyone have exp for this case?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #30666

    Artem Liubeznyi


    Please be aware that we will be adding exactly this functionality in the next release of OroCRM. You will be able to specify currency along with the opportunity amount.

    This functionality is already in development, and first code should be pushed to the master branch within a week or two. Perhaps you’d want to wait for it and then use our implementation as the base.

    Thank you.




    Thank you for your reply, I will wait for your release 😀

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.