Alright.. I don't exactly know how to explain this well... but I will try. I am using Clipper Wordpress theme. It is a coupon theme. Here is what I want. I want it so when a user views my, "Baby Diaper Coupons" category it shows the subcategories for the "Baby Diaper Coupons" on the sidebar. When they view my "Dog Food Coupon" category I want it to show my "Dog Food Coupon" sub categories on the sidebar and so on.... The problem is Clipper doesn't use the actual wordpress categories if that makes sense. If you think you can help me PM me.
You need to use ajax to call the script when the form is submitted then based on the return value send a error alert or let the form submit. Ajax is not php it is javascript. read the following on how to this: http://www.the-art-of-web.com/javascript/ajax-validate/