• 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: Specific value on checkbox group

Specific value on checkbox group 6 years 1 month ago #38923

Hello,
Sorry for my bad english.

I tried to build an form with checkbox group, and with texbox for each value of this checkbox group.

This is an example
Checkbox group :
value1|Item 1
value2|Item 2
value3|Item 3

If user check "item 1" a texbox appear for write quantity for this item (quantity1).
Same thing for item 2 (quantity2) and 3 (quantity3).

It works fine but in emails I would like to write something like that "Item 1 (quantity)" if checkbox for this item is checked.

How can I do ?

I write this :
{if {Checkbox:value}<-value1} [i]Item 1[/i] ({quantity1:value} pièces){/if}
{if {Checkbox:value}<-value2} [i]Item 2[/i] ({quantity2:value} pièces){/if}
{if {Checkbox:value}<-value3} [i]Item 3[/i] ({quantity3:value} pièces){/if}
In this code how can show only Item for each test ?

How you can understand my problem :(
The administrator has disabled public write access.

Specific value on checkbox group 6 years 1 month ago #38953

  • iceferret
  • iceferret's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 246
  • Thank you received: 64
Try this
{if {checkbox group:value}==item1} [i]Item 1[/i] {quantity1:value} pièces{/if}
If you can keep your head when all about you are losing theirs, then you obviously don't understand the situation!
Last Edit: 6 years 1 month ago by iceferret.
The administrator has disabled public write access.
The following user(s) said Thank You: tdconcepts
  • 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!