Hi all, I have problem using select_date. I put it in a form and submit the form. When the page is loaded, user''s selection of the date disappear. What I want to do is very easy. I want to get the start date and end date from user ,run the appropriate query and then show the result. Why does this happen? my code is like: <form action="..." method=post> Start Date: <%= select_date Date.today%> <br/> End Date: <%= select_date Date.today %> <br/> <div style="display:inline"><%= submit_tag ''Submit'',:style=>"height:24px; font-size:12px" %></div> <br/> </form> Thanks in advance -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---