You can do your own custom formatting on the fly although it does take some work. I don't have time to do it all the way right now, but here is something to work off of. Paste this into the On Key event of an Input field:
Maybe you or someone else can pick up and finish it off.
Code:
-- Get the current input... local strInput = Input.GetText(this); local tbSel = Input.GetSelection(this); local strOutput = ""; local nStringLength = String.Length(strInput); local bPeriodFound = false; -- Pick out all of the numerical data for i = 1, nStringLength do local strChar = String.Mid(strInput,i,1); if(strChar == ".")then if not bPeriodFound then bPeriodFound = true; strOutput = strOutput..strChar; end end if ((strChar == "0") or (strChar == "1") or (strChar == "2") or (strChar == "3") or (strChar == "4") or (strChar == "5") or (strChar == "6") or (strChar == "7") or (strChar == "8") or (strChar == "9")) then strOutput = strOutput..strChar; end end strOutput = "$"..strOutput; Input.SetText(this,strOutput); -- A little hack to set selection to the end Input.SetSelection(this,1,-1); Input.SetSelection(this,-1,1);
Comment