validation for two items RRS feed

  • Question

  • I have a dropdown list named "category" coming from another table and also i have a "code" field in my form. one category must have a unique code and many category can have that unique code. how to validate it?? plz do help me out...

    Example for my problem is

    suppose i have 3 category named { Finance, Marketing, HR }

    so Finance can only hold code ABC

    also Marketing can also hold code ABC

    but Finance cannot hold or marketing cannot hold code ABC more than once...

    and I have to validate it.

    Monday, February 18, 2013 11:23 AM


All replies