• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: var result (total) duplicate

var result (total) duplicate 12 years 5 months ago #15469

I guys, I have a big problem...:( :( :( :(
In my form, I have necessity to duplicate the result a differently positions.

I use the script:
<script type="text/javascript">
function calculateText()
{
var op1=document.getElementById('text1');
var op2=document.getElementById('text2');
var result=document.getElementById('tot1');
 
if(op1.value=="" || op1.value!=parseFloat(op1.value)) op1.value=0;
if(op2.value=="" || op2.value!=parseFloat(op2.value)) op2.value=0;
 
result.value=0;
result.value=parseInt(result.value);
result.value=parseInt(result.value)+parseInt(op1.value)+parseInt(op2.value);
 
}
</script>
the result in the field (tot1) it must appear in other field total...
example (tot2)(tot3).....
It's possible this?

Sorry for my bad enlis :laugh: :laugh:
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!