Rails 3 - Calendar Date Select Gem - Disable Field Input -


using gem 'calendar_date_select', :git => 'git://github.com/paneq/calendar_date_select.git' in gemfile.

is there option disabling user keying in date, forcing them use popup calendar? reason, if key in date hand, wrong date stored.

here on form:

<%= f.calendar_date_select "invoice_date", :index => '1', :time => false, :size => 12 %> 

thanks in advance!

never mind, submitted question, figured out:

:popup => "force" 

Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -