Return to Snippet

Revision: 12346
at March 11, 2009 16:36 by kickjoel


Initial Code
// make category required on photo upload
if (Ka.Info.PAGE == "pages/newPhotoUpload.jsp"){
   $j('#topCategory').attr('not-equal-to','-2');
   Ka.formValidation.messages.categoryError = "Category is required.";
   $j('#topCategory').attr('errorkey', 'categoryError'); 
}

Initial URL

                                

Initial Description
Just add this in script tags in your Affiliate Center footer:

Initial Title
KickApps: Make a category required on photo upload

Initial Tags
category

Initial Language
jQuery