I remember in excel something like this can happen, there is a job no. and job title, I assume they are under one table, and in a selection form, if one select a job no., let say, 11111, the other side will automatically show up the title of the job , is there a easy way to do this in rail also? Thank you. Sammy --------------------------------- DO YOU YAHOO!? 雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Alex Young
2005-Sep-13 14:08 UTC
Re: how to make a''auto show up'' thing in a selection form?
s c wrote:> I remember in excel something like this can happen, there is a job > no. and job title, I assume they are under one table, and in a > selection form, if one select a job no., let say, 11111, the other > side will automatically show up the title of the job , is there a > easy way to do this in rail also?Check the documentation for the observe_field method. That''ll do what you want, I think. -- Alex