hi,
i have a situation where i have a list of options from which a user
selects
his options if its not in the list he/she selects Others/Not Present and
a
new textfield should pop up and the data entered there should be
considered
instead of dropdown.
i have done this using javascript/dhtml but i was wondering how this can
be
done using pure rails i.e using some of the RoR apis?.
i would appreciate if anyone helps me with this.
warm regards
gaurav v bagga
On Monday, June 19, 2006, at 12:53 AM, gaurav bagga wrote:
i would appreciate if anyone helps me with this.
warm regards
gaurav v bagga
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
Why not try an auto_complete field?
_Kevin
Kevin,
thanks for your reply ,
but i have started RoR a week back and i am really new what you said i
didn’t get,
well i will google around what you have said and try to find out the
way,
atleast i got an idea what to look for…
regards
gaurav
On 18 Jun 2006 19:48:29 -0000, Kevin O. <
On Monday, June 19, 2006, at 10:56 AM, gaurav bagga wrote:
On 18 Jun 2006 19:48:29 -0000, Kevin O. <
new textfield should pop up and the data entered there should be
gaurav v bagga
_Kevin
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
take a look at this… http://script.aculo.us/demos/ajax/autocompleter
And then look in the rails API for ‘auto_complete_for’ and
‘text_field_with_auto_complete’
_Kevin