• 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: get radiobutton values from database

get radiobutton values from database 3 years 1 month ago #41960

Hi everyone, I tried and searched a lot on the forum before submitting this problem but I could'n find a solution
I have a form where the user must confirm his data already stored into the db in a custom table.
The user reach the form page trough a value passed into the url, i.e www.mysite.com/index.php?option=com_rsfo...mId=xxx&subid=xyzxyz
The singles fields are compiled with his datas grabbed from the db with no problem, the problem occurs when I have to load a boolean value (1/0) from a db field, and I need to put this value in a radiobutton or a checkbox because I need a conditional field based on that field to show an option or not.
I just need to know if the value is 0 or 1 and change dinamically the value and the label like:

If dbValue = 0
0|No
If dbValue = 1
1|Yes

How???
Thx very much for any hint.
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!