KickApps: Make a category required on photo upload


/ Published in: jQuery
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.