On Jul 23, 2009, at 2:02 PM, Älphä Blüë wrote:

>
> I'm trying to find out what select elements would be best to use for
> comparison statements between two objects.  Overall, the objects  
> belong
> to the same table using the same id structure.
>
> A person would have to visibly select one object and then another and
> click a submit button.  I'm not sure which would best translate for  
> this
> particular application.
>
> There are a possible 120 objects to select from so dropdowns might
> become cumbersome.  The same could be said for checkboxes.
>
> Example Scenario:
>
> 120 teams (select # one)
> 120 teams (select # two)
>
> Teams can't be the same so perhaps some ajax functionality to not make
> the second selector enabled or visible until the first is checked.
> Then, remove team from select one out of the select two list.
>
> I could probably use ajax to render a partial for each or start with  
> one
> select visible and render the second partial for the second team  
> select.
>
> Which still brings me to my options?  How to select a team.  Through
> checkboxes, dropdowns, search boxes, etc.?
>
> What are my choices and what advice do you think I should follow for
> this particular implementation?

If the team names are well known, I'd go with an auto-completing text  
field.

-philip
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to