Answered by:
How to set the default currency?

Question
-
On one of my custom form, I have a money fields, but I cannot set them without getting the following error:
A currency is required if a value exists in a money field. Select a currency and try again.
After investigating, I see that I have a lookup field called "Currency" in the form. The problem is every time someone wants to add a new record they have to input the default currency on this form. All other custom entity forms are automatically set. It's just on this form that users always have to manually enter the currency.
I have set the system currency and user currency but it still happens. Is there a resolution for this?
Sunday, May 26, 2013 8:16 AM
Answers
-
Hi Syed Hussain,
Refer this link : http://edwardsdna.wordpress.com/2010/02/01/set-a-default-currency-lookup-value-on-a-form/
hope this will help you.
- Marked as answer by Payman BiukaghazadehEditor Tuesday, May 28, 2013 3:25 PM
Sunday, May 26, 2013 9:22 AM -
Use a JavaScript to set value of the currency if it is null on the form load. Have a look at this library for a better guide.
- Proposed as answer by Payman BiukaghazadehEditor Sunday, May 26, 2013 1:52 PM
- Marked as answer by Payman BiukaghazadehEditor Tuesday, May 28, 2013 3:25 PM
Sunday, May 26, 2013 1:52 PMModerator
All replies
-
Hi Syed Hussain,
Refer this link : http://edwardsdna.wordpress.com/2010/02/01/set-a-default-currency-lookup-value-on-a-form/
hope this will help you.
- Marked as answer by Payman BiukaghazadehEditor Tuesday, May 28, 2013 3:25 PM
Sunday, May 26, 2013 9:22 AM -
Use a JavaScript to set value of the currency if it is null on the form load. Have a look at this library for a better guide.
- Proposed as answer by Payman BiukaghazadehEditor Sunday, May 26, 2013 1:52 PM
- Marked as answer by Payman BiukaghazadehEditor Tuesday, May 28, 2013 3:25 PM
Sunday, May 26, 2013 1:52 PMModerator