How to right justify a number field value. Defaults to Left

  • abennet4
    Asked on November 17, 2015 at 10:51 PM

    How to right justify a number field value and insert a "," separator at thousands point of number

  • Sammy
    Replied on November 18, 2015 at 3:07 AM

    You can use the following CSS snippet to set the number alignment

    .form-number-input.form-textbox {
        text-align : right;
    }

    Use the CSS tab under the designer to add it.

    How to right justify a number field value Screenshot 40

     

    How to right justify a number field value Screenshot 51

     

    At the moment the normal number input does not support currency formatting, you can however achieve it using the masked input widget with the default settings.

    How to right justify a number field value Screenshot 62