Configure Currency (Money) Fields

Add a money control to your web form to allow users to enter money amounts (USD, EUR, JPY, GBP, and INR). By default, the currency type is set to USD. The user can change the currency type using the Currency property on the General tab. The corresponding currency symbol displays next to the currency amount. Users can use commas or decimal point to enter different amounts into the control, such as £ 30,700.00. If users don’t specify commas or decimal point, the web form automatically displays these symbols. The web form rounds all currency amounts to two decimal places.

To configure a money control:
  1. From the Advanced Palette, drag the Money control onto the canvas.
  2. Select the control and edit its properties on the Properties pane's General tab.
    Field Description

    Name

    An internal identifier that you will use to identify the control.

    Binding

    Defines a link between the control and a data attribute.

    Computed Value

    Set this property to apply a computation to the control. See Create Computed Controls.

    Currency

    Allows you to change the currency type.

    Placeholder

    Text that will appear in the control until any text is entered. If text is removed from the control, the text specified in this field reappears.

    Hint

    Hint text that will display to users when a user clicks into the control.

    Help

    Help text that will appear for the control. If you specify help text, a help icon appears next to the name of the control and displays the help text when a user hovers over it or clicks it.

    Min

    Specify the minimum amount that users need to enter into the control.

    Max

    Specify the maximum amount that users can enter into the control.

    Show increment/decrement buttons

    Select this check box to display the up and down arrow buttons used to increment or decrement the control value.

    Step

    Specify a step value based on which the amount will be incremented or decremented correspondingly when a user increments or decrements the amount in the control. By default, the step value in this field is set to 1. For example, if the step value specified is 3 and the initial amount is $ 0.00, then, when a user increments the amount in the control for the first time, the amount is updated to $ 3.00. When the user increments the amount again for the second time, the amount is updated to $ 6.00 and so on.

    Note:

    This property is displayed only when you select the Show increment/decrement buttons check box.

    Show increment/decrement buttons

    Select this check box to display the up and down arrow buttons used to increment or decrement the control value.

    Events

    Allows you to configure events for the control. You can assign actions or If/Then/Else conditions to the control based on a selected event. See Add Dynamic Behavior to Forms.

  3. On the Styling tab, edit the control's styling properties.
  4. Click Preview to try out using the control.