• 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: javascript radio and multiple select etc

javascript radio and multiple select etc 8 years 5 months ago #36047

  • paul8
  • paul8's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi

I have a few issues that I know can be fixed with javascript but I don't know javascript so any help here would be appreciated.

I have a lot of extra fields in the registration form for example a radio for gender with Male Female options.

With the other fields I use the following code in default value
//<code>
$user = JFactory::getUser();
return $user->get('surname');
//</code>

But for the radio I don't have the default value option.
I believe I will need to have a hidden field that will use the above code to grab the gender (Male)
Question is have do I then prefill the gender radio button with javascript. (Male[c])

I also have the same issues with a multiple select dropdown list and birthday fields.

So to be clear I already have the information in the database but need to retrieve it for a new form.

Cheers
Paul
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!