• 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: Simple Calculation??!?!?!

Simple Calculation??!?!?! 16 years 10 months ago #3348

  • ca700290
  • ca700290's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi, I have rsforms professional and followed this example to the letter:

www.rsjoomla.com/index.php/rsform.custom...ion-with-RSform.html


But does anyone actually have it working? My form doesn't display any result. I have the latest rsforms pro and joomla 1.5.

Cheers
Dan
The administrator has disabled public write access.

Re:Simple Calculation??!?!?! 16 years 9 months ago #3816

The example given can be used for RSForm, not RSForm Pro. This is wat I understood from Alexandru:

Let me begin by saying that the article you have read is for RSform not for RSform!Pro. Our knowledgebase is currently being consolidated for all our products.

Regarding your problem... i will give you an example on how to perform some calculations in RSform!Pro...

1. create a field named \"field1\" with validation rule as \"numeric\"
2. create a field named \"field2\" with validation rule as \"numeric\"
3. create a hidden field named \"total\"
4 create a submit button name \"calculate\" with the additional attributes section field with the following code:

onclick=\"document.getElementById('total').value = parseInt(document.getElementById('field1').value) + parseInt(document.getElementById('field2').value); \"

In the \"Edit form\" tab please edit the \"Thank you\" message and type this:

The total is: {total:value}

This works fine for me.
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!