• 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: Time selection dropdown spanning 24hr

Time selection dropdown spanning 24hr 12 years 11 months ago #17237

I'm trying to insert a dropdown where the user can select a particular time

Since the time spans 24 hrs in 15 min increments so single dropdown wont be feasible.

Is there a way to code dropdowns like this www.hertz.com (Pick Up Date and Time) so that they still insert a single time field in the database for downstream applications?
The administrator has disabled public write access.

Re: Time selection dropdown spanning 24hr 12 years 11 months ago #17380

Hello,

Use a hidding field for this.
Just create your own fields and pick it up with a hidden field.
Then you have a extra field in the database with the date and time.

With this javascript code I pick up the value and put it in a other hidden field.
I use the value because I need the id from the selected Joomla! categry
<script type="text/javascript">
function getDescription(param)
{
var index  = document.getElementById(param).selectedIndex;
var option = document.getElementById(param).options[index];
var test = option.text;
document.getElementById('category2').value = option.text;
}
</script>
Regards
Wilco Alsemgeest

Please note: my help is not official customer support. To receive your support, submit a ticket by clicking www.rsjoomla.com/my-support-tickets.html
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!