Currency Symbol Use Case

In this use case, we want to customize the grant recommendation form to reflect the specified currency setting in Control panel, Site configuration, Options. When you change the currency setting, monetary values throughout DonorCentral — except on the Grant Recommendation form — are automatically updated to reflect the specified currency. This use case explains how to update the recommendation form to also reflect the currency setting.

Note: The currency symbol must be a single, non-numeric character.

  1. Select Control panel, Recommendation form.

  2. On the Grant form setup page, select the Recommendation button.

  3. In the Grant section, select the Settings icon for the Amount field.

  4. In the Text Field Component pop-up, on the Display tab, enter the currency symbol in the Prefix field.

  5. Select Save.

  6. On the Grant Form Setup page, in the Recurrence section, select the Settings icon for the Total amount field.

  7. In the Text Field Component pop-up, select the Data tab, then select Calculated Value.

  8. Under JavaScript Value, in the line of code value = "$" + amount.toFixed, change the $ to the desired currency symbol.

  9. Select Save.

  10. If multi-payment recommendations are enabled on your site:

      a. On the Grant form setup page, in the Grant section, select the Settings icon for the Payment Amount field.

      b. In the Text Field Component pop-up, select the Data tab, then select Calculated Value.

      c. Under JavaScript Value, in the line of code value = "$" + amount.toFixed, change the $ to the desired currency symbol.

      d. Select Save.

  11. Select Save form.