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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -