• 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: Dropdown Menu with linked image (dinamic changes)

Dropdown Menu with linked image (dinamic changes) 10 years 1 month ago #30709

Hello everyone,
I'd like to create a Form with different dropdown lists.
Every list value will have a linked image to be shown on screen.

For example
If Dropdown1_value1 is selected I'll see image11.jpg
If Dropdown1_value5 is selected I'll see image15.jpg
in another position
If Dropdown2_value3 is selected I'll see image23.jpg


Is this possible? And how?

Moreover I'd like to associate a numerical value to each dropdown value (hidden field) and calculate a sum pressing a butto.

For Example:
Dropdown1_value1=2
Dropdown1_value2=3
Dropdown1_value3=20
Dropdown1_value4=11
Dropdown1_value5=5

Dropdown2_value1=2
Dropdown2_value2=3
Dropdown2_value3=20
Dropdown2_value4=11
Dropdown2_value5=5

After selecting Dropdown1_value3 and Dropdown1_value5 and pressing the submit button I would like to see the value result as follows:
TOTAL = 25
(Dropdown1_value3 + Dropdown1_value5)
(20 + 5)


Please let me know if this is possible or not, and maybe how.
Thank you in advance.
Alessabdro
The administrator has disabled public write access.

Dropdown Menu with linked image (dinamic changes) 10 years 1 month ago #30710

alessandro.crespi wrote:
For Example:
Dropdown1_value1=2
Dropdown1_value2=3
Dropdown1_value3=20
Dropdown1_value4=11
Dropdown1_value5=5

Dropdown2_value1=2
Dropdown2_value2=3
Dropdown2_value3=20
Dropdown2_value4=11
Dropdown2_value5=5

Associating values to dorpdown lists should be easy... I've founf this one in the help pages.
value|label
so I should input it like this
11|Dropdown1_value4

But how can I do to sum every dropdown numerical value after submission and show the result?
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!