Posted By

kickjoel on 03/11/09


Tagged

category kickapps required


Versions (?)

KickApps: Make a category required on photo upload


 / Published in: jQuery
 

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

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

Report this snippet  

You need to login to post a comment.