• 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: radio button group value

radio button group value 11 years 10 months ago #23819

hi,
By default, the value is equal to the label, is it possible to have a different value from the label for the radio button group ?
Exemple :
label1 = 1
label2 = 0
label2 = 0
thank you
The administrator has disabled public write access.

radio button group value 11 years 10 months ago #23823

Hi!

I don't have any idea but if you don't have the component, it's possible to testing this idea into demo site : demo25.rsjoomla.com/administrator/index.php?option=com_rsform
The administrator has disabled public write access.

radio button group value 11 years 10 months ago #23840

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

Yes, this is indeed possible with the use of the "|" pipeline symbol. The pipeline is used to split the label from the actual value. Example on how to use, within a radio-group item area:

23|my-label
44|another-label
10|label

The radio options in the frontend will only show the text after the pipeline. The actual value of the selection will inherit the left part.

The usage of the pipeline symbol is explained here:

www.rsjoomla.com/support/documentation/v...e/57-components.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!