Thread: One Type Limit
View Single Post
  #1  
Old 07-19-2009, 07:22 AM
Ashje Ashje is offline
Member
 
Join Date: Jan 2009
Posts: 179
Credits: 15,577
Ashje
Default One Type Limit

Let's say that I'm making a Pokemon Adoptables site and I want the user to be able to choose one starter and one starter only and not to be allowed to adopt the others after they have adopted one. How would I go about doing that?

In more generic terms;

Let's say I have 12 adoptables on a page and I want the user to only be able to adopt one out of those 12. After that, if they try adopting another, they get an error. How would I do that?

Thanks,
Ashje.
Reply With Quote