Help- Want to pass on 1/10 of the value the user enters.. HOW?

3 replies
Hello,

The order form of my site has been bugging me for a long time and has been affecting the conversion rate. I write articles and the number of words can exceed 999 but the problem is that 2checkout does not allow the user to put in more than 999 which is absurd.

So what I want is that if the user enters 2000, only 200 should be passed on to 2checkout when the submit button is clicked. The (very) basic code is

<input type='hidden' name='quantity2' value='0' />
<input name='quantity2' type='text' />

So, how do I make sure that 1/10th of the value is passed? I tried using a script with onclick function but it did not work. Any suggestions?
#1 or 10 #enters #pass #user

Trending Topics