I thought this was addressed earlier today? Is the value associated with the drop down associated with a field in the underlying table? If so, it is handled with model validation just like any other field. Sorry if I have misunderstood your query. If I am barking up the wrong tree then please expand your question a little.
On Nov 20, 11:46 am, Smi <[email protected]> wrote: > Hi all, > I want to apply validation for unique entry. when i try to > enter a value from the drop down list , if a value (such as a name) > have a corresponding entry in the database it should display relevant > message (like 'Already an entry exists'). I can do this with a text > box by adding validation as 'isUnique' in model. How can I do the same > for drop-down list. -- You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=.
