Boostrap input object


#1

how can i set the boostrap input object as right alignment and its format as #,##0.00

Thanks
Teo


#2

One way to access the text-align style on AppStudio-provided BS input strings is this:
Input1_contents.style.textAlign = "right"

If instead you wish to right-align the input’s header text, just use:
Input1.style.textAlign = "right"

To set the input text format, use the FormatNumber() function found at:
Formatting Functions

Here’s how you might use it to format the input text into a formatted number:
Function Input1_onchange(e)
  Input1_contents.value = FormatNumber(e.target.value, 2, False, False, True)
End Function

Kind regards,
Doug