• 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: Multi-Date picker for the Calendar field?

Multi-Date picker for the Calendar field? 12 years 5 months ago #20053

  • djaber2000
  • djaber2000's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 3
Hi,

The Date picker currently allows for only one date selection. Is it possible to select more than one date, and have the dates added in the same single field separated by commas?

for example: 11/12/2012, 11/13/2012, 12/18/2012, 12/25/2012

If the built in date picker does not allow this option, I have located a Jquery datepicker that does allow multi-date selections to a single field, but I am unsure as to the exact way if doing this. Would I create a blank text field and apply the call in the additional attributes box: $(selector).datepick();
Then call the .JS and .CSS file in the head of my template?

Thank you for any help or suggestions. This is a necessary feature to complete my form, and hopefully this would be useful for others as well.
The administrator has disabled public write access.

Multi-Date picker for the Calendar field? 12 years 5 months ago #20055

  • djaber2000
  • djaber2000's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 3
Well I figured out how to do this using a jquery pop-up, so I hope this helps anyone trying to achieve the same.

If it's possible to do this with the RSForm calendar I definitely would still like to know how to do it, otherwise here is the work around I did.

1.) I downloaded the Jquery date picker calendar (and it's associated .JS and CSS files) at keith-wood.name/datepick.html

2.) I called in the jquery.js and css files in the head section of my template.

3.) I then created a blank textfield, and named it getSetMultiPicker

In the CSS/Javascript area in RSforms I added this javascript:

<script type="text/javascript">
$(function() {
$('#getSetMultiPicker').datepick({multiSelect: 4, showTrigger: '#calImg'});

});

</script>

You can change the multiSelect to allow for however multi selections you would like it to have the ability to add.

And that's it!


I hope others can find this useful.
The administrator has disabled public write access.
The following user(s) said Thank You: quantum4

Multi-Date picker for the Calendar field? 12 years 4 months ago #20634

  • JayShoe
  • JayShoe's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hello sir,

I'm interested in doing the same thing on my website. I've included the jquery and the jquery.datepicker calls in my header. I've called my "textfield" field getSetMultiDatePicker as suggested, and I've included the javascript in my form. But yet when I load my form it doesn't do anything. The field is just a regular field with no date picker at all. Do you have any advice on what I can do to make this work?
The administrator has disabled public write access.

Multi-Date picker for the Calendar field? 12 years 4 months ago #20635

  • JayShoe
  • JayShoe's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
The administrator has disabled public write access.

Multi-Date picker for the Calendar field? 12 years 4 months ago #20637

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
You're calling the script before jQuery gets loaded and the call to initialize the "Date Picker" script is also taking place before the HTML is loaded. My suggestion would be to remove the calls from your template and add them in RSForm! Pro under "Properties" > "CSS and JavaScript":
- In the "CSS" field:
<style type="text/css" src="/js/jquery.datepick.css"></style>
- In the "JS" field:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery.datepick.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
	$('#getSetMultiPicker').datepick({multiSelect: 4, showTrigger: '#calImg'});
});
</script>
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
Last Edit: 12 years 4 months ago by octavian.
The administrator has disabled public write access.

Multi-Date picker for the Calendar field? 11 years 5 months ago #25527

  • quantum4
  • quantum4's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hey Djaber2000,

i could still use some help with the implementation of the datepicker. anywhere i reach you outside this forum ? Thanks!
The administrator has disabled public write access.

Multi-Date picker for the Calendar field? 11 years 2 months ago #26666

  • ByDomino
  • ByDomino's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 1
Has this ever been implemented into the native version of Rsforms Pro? Either way can someone direct me to a step by step on how to get the calendar and field selection in?
The administrator has disabled public write access.

Multi-Date picker for the Calendar field NOW? 5 years 1 week ago #40098

  • thjabaqu
  • thjabaqu's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hello,
is this feature still available for the latest version of rsform pro?
Thank you
Last Edit: 5 years 1 week ago by thjabaqu.
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!