• 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: rsform payment | add an additional price to total

rsform payment | add an additional price to total 11 years 4 months ago #26030

  • youngboy
  • youngboy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
hi,
I want to add an additional price to total amount in rsform payment.
For example I want to multiply two numbers as width and height(area) and multiply to an fixed price.(area × fixed = price2) Then I want to collect the total amount with price2.( width × height = area -> total + price 2= my wanted total )
I haven't problem by multiplying but I have problem by adding to total amount Because the type(HTML tag) of the "total field" is 'span' and I can't to use this code:

onchange="document.getElementById('total').value = .......

Please help me!
Thanks a lot.
The administrator has disabled public write access.

rsform payment | add an additional price to total 11 years 4 months ago #26046

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Instead of "document.getElementById('total').value" try "document.getElementById('total').innerHTML = 'value here'".
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
The following user(s) said Thank You: youngboy
  • 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!