• 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: How to make a radio button pre selected

How to make a radio button pre selected 13 years 2 months ago #16289

  • jensl1972a
  • jensl1972a's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 1
How can i make a radio button pre selected on form load. It's in the example file from the demo site but i cant see where in the code
The administrator has disabled public write access.

Re: How to make a radio button pre selected 13 years 2 months ago #16295

Hi,
Try using the [c] command at the end of the line in the radio button items area.
For example:
Yes [c]
No
The Yes radio button is selected when the form is displayed.

Check out the Components section of Getting Started document. There are quite a few hidden jewels of coding that will help get your forms styled the way you want them.
I've also found some neat hints on formatting by searching this forum.

K
The administrator has disabled public write access.

Re: How to make a radio button pre selected 13 years 2 months ago #16300

  • jensl1972a
  • jensl1972a's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 1
Thanks a lot for the help.
I always try to read all documentation before asking questions. Couldn't find this anywhere but maybe i should do a thurough reading again :)
Last Edit: 13 years 2 months ago by jensl1972a. Reason: Spelling error
The administrator has disabled public write access.

Re: How to make a radio button pre selected 13 years 2 months ago #16301

  • jensl1972a
  • jensl1972a's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 1
FYI This works for drop down lists as well
The administrator has disabled public write access.

Re: How to make a radio button pre selected 13 years 2 months ago #16302

You're welcome. I've found that sometimes reading online leads me to skip lines so I miss things. It took me a couple of times through the document to find the [c] coding. I like my paper documents so I can highlight...older eyes here!

I also have a text file that I paste interesting code/helpful hints into when I find them on the forum. I can then search that file and have the code ready to paste into the form when I need it.

K
Last Edit: 13 years 2 months ago by NEMGTR_webmanager. Reason: typo
The administrator has disabled public write access.

Re: How to make a radio button pre selected 13 years 2 months ago #16303

  • jensl1972a
  • jensl1972a's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 1
NEMGTR_webmanager wrote:
You're welcome. I've found that sometimes reading online leads me to skip lines so I miss things. It took me a couple of times through the document to find the [c] coding. I like my paper documents so I can highlight...older eyes here!

I also have a text file that I paste interesting code/helpful hints into when I find them on the forum. I can then search that file and have the code ready to paste into the form when I need it.

K

Sounds like a good idea. I'll take it :cheer:
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!