0

With respect to the question, can anyone suggest a remedy for the same. How can I create a field for currency(with selecting currency and text field to enter the amount) considering the fact that there are multiple currencies.

I have tried adding prefix but it can input only a single value(for example $ or pound etc). I have also tried the currency module but it gives a single page with multiple currencies.

0

So to add a decimal field.

  • edit your content type.
  • manage fields
  • add new field
  • select Decimal from the Field Type dropdown, click the 'Save' button
  • Change 'Scale' to 2. These are the cents, 'Save field settings' button.
  • In the Prefix field add '$' and save settings.

enter image description here

3
0

You should install module 'currency', add a field of type Entity reference, and choose the 'currency' as the referred type.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.