Manjeet Posted April 5, 2021 Share Posted April 5, 2021 Hi Everyone! I am new for whmcs, I am facing problem that Amount Text Box dont accepting comma in amount Like if I enter 1,200.00 in Amount Text Box its only insert the 1 in database (not inserting value after comma). Can anyone tell me how I can solve this problem ? Now I got source code of WHMCS, In code I found that amount is passing onclick event using jQuery below is the code onclick="window.location="?userid=230&action=addfunds&token=35b28f5a6539734cabc83ada6614c19181598268&addfundsamt=" + jQuery("#addfundsamt").val()+"&desc="+encodeURIComponent( jQuery("#desc").val() )" when I enter the 'addfundsamt' = 1,200.00 it inserting Only 1 Can anyone know How I can solve this problem ? If I edit the source code then How Can I compile this ? as WHMCS is encode the code Please help me to solve this problem Thanks, 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.