OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums 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 7 years, 7 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #36318

    thinh2010
    Participant

    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?

    Thanks,

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

    Artem Liubeznyi
    Spectator

    Hi,

    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.

    #36320

    thinh2010
    Participant

    Hi,

    Thank you for your reply, I will wait for your release :D

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

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

Back to top