In Rails is there editable combo box? -- 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 -~----------~----~----~----~------~----~------~--~---
Selvaraj wrote:> In Rails is there editable combo box?-- 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 -~----------~----~----~----~------~----~------~--~---
Rails has exactly the same form elements as every other web based application. So the direct answer is no, because web forms don''t provided them. However, you''re in luck! Rails has excellent support for AJAX through Prototype, which has an auto-completing text field, which should give you what you want. Maybe even better than what you want. And don''t fret, it''s pretty easy to use. The only down side is that your page will then require JavaScript, so you''ll either need to require JavaScript for your application or make sure your form will still function reasonably well without JavaScript. On May 8, 9:30 am, Selvaraj <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Selvaraj wrote: > > In Rails is there editable combo box? > > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---
Robert Walker wrote:> Rails has exactly the same form elements as every other web based > application. So the direct answer is no, because web forms don''t > provided them. > > However, you''re in luck! Rails has excellent support for AJAX through > Prototype, which has an auto-completing text field, which should give > you what you want. Maybe even better than what you want. And don''t > fret, it''s pretty easy to use. > > The only down side is that your page will then require JavaScript, so > you''ll either need to require JavaScript for your application or make > sure your form will still function reasonably well without JavaScript.Thanks Robert, Its very useful news for me, I have a doubt in auto completion Can I list the value without typing any character means just clicking on that text box?.. -- 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 -~----------~----~----~----~------~----~------~--~---
On 08 May 2007, at 15:52, Selvaraj wrote:> Thanks Robert, > > Its very useful news for me, I have a doubt in auto completion > Can I > list the value without typing any character means just clicking on > that > text box?..There are several comboboxes around, one in Ext JS at http:// extjs.com/ (which is compatible with Prototype/scriptaculous nowadays). Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Right, I figured some would be available, It''s just, unfortunately, not a standard HTML form element, so it would need to be done using AJAX/JS/DHTML style components. On May 9, 3:39 am, Peter De Berdt <peter.de.be...-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org> wrote:> On 08 May 2007, at 15:52, Selvaraj wrote: > > > Thanks Robert, > > > Its very useful news for me, I have a doubt in auto completion > > Can I > > list the value without typing any character means just clicking on > > that > > text box?.. > > There are several comboboxes around, one in Ext JS at http:// > extjs.com/ (which is compatible with Prototype/scriptaculous nowadays). > > Best regards > > Peter De Berdt--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---