Forum: Ruby on Rails Calender Control

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Vaibhav D. (Guest)
on 2009-04-09 12:45
I want to use the calender control in my application like what i added
in the attachment file for, from date and to date it should display
records but i unable to attach it in ruby on rails application well its
working fine in Dot Net too...
I want to show the records between first and the second textbox field
date entries i am going to use the code


@date2ss = Date2.find(:all, :conditions => "ID > '"+ @date1 +"' and ID
<'"+ @date2+"'")

1>how i validate the calender date fields in the text boxes?
2>how i use the calender control in ruby on rails application?
( that on click of that control it display the calender and on
selecting the date should be display in the respected text box...)
thanks in advance,
This topic is locked and can not be replied to.