• 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 Buttons

Radio Buttons 16 years 11 months ago #114

  • Jilic
  • Jilic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
I would like some help regarding the use of Radio Buttons.

I can't figure out how I can use them.
Can I completely \"easy program\" them in the fields?
or is there another \"easy program\" way in the backend? (where do I need to pout it then?)
or do I need to do some \"programming\" in the PHP files? (using dreamweaver?)

I'm pretty new at this forms thing. But I need it for a site that I'm making. But rest asure.... I am a fast learner.

Thanks in advance.
Jilic.
The administrator has disabled public write access.

Re:Radio Buttons 16 years 11 months ago #115

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
No. All you have to do is to add a new Field, change it's type to radio, and add the same field id for all of the group radio, with different default values. For the label, you can use the Title or the Description. Let me know.
The administrator has disabled public write access.

Re:Radio Buttons 16 years 11 months ago #116

  • Jilic
  • Jilic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
Ah, okay, Thanks for the mega quick reply.

I didn't know it needed the same ID. It was that simple :laugh:

Great that works.

1 other questions.
- is it possible to redirect after submitting, regarding to what they choose at the radio button?

Say the choose for a bus, that it redirects them to the page with the bus info. and if they choose train, that they'll get the train page.


Thanks again!

[EDIT!]
Extra Question. How can I make, the radio buttons mandatory, without them coliding/give error?

Thanks...<br><br>Post edited by: Jilic, at: 2007/05/10 13:08
The administrator has disabled public write access.

Re:Radio Buttons 16 years 11 months ago #117

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
Hm, interesting Idea(the custom redirecting). I will add it to the suggestion box, and add it in the 1.0.2 for sure. You will be able to add {radiobutton} custom field to the return_url also. Thanks!

For the mandatory(hum).. the only way you can do that now is to add checked to the additional attributes of the first radio.
The administrator has disabled public write access.

Re:Radio Buttons 16 years 11 months ago #126

  • Jilic
  • Jilic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
Still strugling a bit with it, but the main thing works.

did not quit get what you ment with the checked part. But I'll try to figure that out.

right now I got 3 things.

- Transportation (hidden)
- Bus O (Ma~Thu)
- Train O (Fri~Sun)

All have the same ID.
So Guessing I need to change the ID of the \"transportation\" text.
and add something at Additional Attr. That something is the check...


=======================================
=======================================


The redirect idea can also be used for the select part. We didn't know to use radio buttons or the pulldown (select) menu.

So therefor I think.
If [formID] = [input] then redirect [url]
or If [formID] = [input] then redirect [url]
else redirect [url]

((Or am I thinking MUCH to simple again.))
The administrator has disabled public write access.

Re:Radio Buttons 16 years 11 months ago #138

  • Jilic
  • Jilic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
I think too difficult sometimes.

I tried so much,... and all it need was the word Checked. Whahahaah
I tried many things. als with a dot .checked, then tried without.

Anyways.
You help was super.
I'll be back
hope to help someone, instead of all the question! hihihhi.

J.
The administrator has disabled public write access.

Re:Radio Buttons 16 years 11 months ago #140

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
Good I'm glad you figured it out. :)
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!