• 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: Select only calculated and user selected field

Select only calculated and user selected field 10 years 2 months ago #30481

  • redmar
  • redmar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 3
Hi,
I've created a commission calculation form where a user can calculate and select a desired package. For example:

Choose the selling price of your product:
  • 10.000
  • 20.000

After the user makes his choice the form calculates our package prices in 3 packages, for example:

Package 1
100

Package 2
200

Package 3
300

What do I want?
I would like to give the user the opportunity to select a package and that only the price of the chosen package will be emailed to the user. Any ideas on how to do this?
The administrator has disabled public write access.

Select only calculated and user selected field 10 years 2 months ago #30513

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

You can try the following approach:

- use a radio group.

- setup your radio group using the pipeline symbol "|" similar to:
first|<span id="first">first package</span>
second|<span id="second">second package</span>
third|<span id="third">third package</span>

- a JavaScript would be needed that changes the value of your radio groups as well as their label (you can use ID of the span on this) when your calculation is performed.

- eventually, you would use the radio group field placeholder within the email body.
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.

Select only calculated and user selected field 10 years 2 months ago #30519

  • redmar
  • redmar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 3
Hi Adrian,
Thank you for your help. Unfortunately I'm not able to write such a Javascript. If anyone has an idea I'll be glad to hear this; otherwise I'll look for another solution.
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!