Hi, I've a problem with a product between 3 input field
<form name="Form1" method="post" action="" >
<input name="lit" type="text" id="lit" disabled="disabled"/>
<input name="ore" type="text" id="ore" HIDDEN/>
<input name="qt" type="text" id="qt"/>
<input name="totale" type="text" id="totale" />
</form>
I would like to make a product
"lit*qt*ore" and write it in "totale"
but:
1) It must consider decimal number (with 2 decimal) with "," decimal symbol
(not ".")
2) To see an Alert if an user inserts a char (a,b,c,d,e...) and tranform it
in a 0 (for example) ... if user inserts "," this char wil be allowed
because I must allow decimal product
example:
lit: 1,23
qt: 2
ore: 2,50
in totale will write: 6,15
I hope you can help me!!