• 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: Can the answers on a form have a numerical value ?

Can the answers on a form have a numerical value ? 11 years 6 months ago #25463

  • Drdrew
  • Drdrew's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hello,
Is it possible to apply a 'numerical value' to the answers in an RS Form list of questions?

I want to have the total numerical value of the answers displayed and, dependikng upon the value, possibly a Red or Green image etc.

Any thoughts?

Regards
Drew
The administrator has disabled public write access.

Can the answers on a form have a numerical value ? 11 years 6 months ago #25473

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

This would be possible with the use of the pipeline "|" symbol, used to split the value into value|label. The pipeline can be used for selections made from dropdowns, radio groups or checkboxes. An example using the pipeline with a radio group can be found here:

www.rsjoomla.com/support/documentation/v...829-radio-group.html

RSForm!Pro newest revision comes with a basic calculation feature, which you can use in this scenario:

www.rsjoomla.com/support/documentation/v...rm-calculations.html

As for displaying a red or green image based on the total, note that there are no built-in features in the component for this. However, due to RSForm!Pro flexible nature this can be implemented via specialized scripting areas(you can try displaying these pictures in the "Thank You Message" page):

www.rsjoomla.com/support/documentation/v...602-php-scripts.html
This is not official customer support. To receive your support, submit a support ticket here.
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!