I have three fields in an Update Datapage (ManagementExpenses, FundraisingExpenses, and TotalRevenue) that I need to format as only numbers (no currency symbols), if someone enters $11,500.51 it would render 11500.51 or $1,500,000 would render as 1500000.
I then use the numbers on a separate onchange function that calculates a % based on the three numbers in that same page.
Could anyone help me with a script to remove any currency symbols if the user inputs them?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I have three fields in an Update Datapage (ManagementExpenses, FundraisingExpenses, and TotalRevenue) that I need to format as only numbers (no currency symbols), if someone enters $11,500.51 it would render 11500.51 or $1,500,000 would render as 1500000.
I then use the numbers on a separate onchange function that calculates a % based on the three numbers in that same page.
Could anyone help me with a script to remove any currency symbols if the user inputs them?
I appreciate the help!
Share this post
Link to post
Share on other sites