KickApps: Make a photo required during signup


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

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

--
For more tips and tricks checkout the <a href="http://www.kickdeveloper.com/resources">KickApps resources page</a>.


Copy this code and paste it in your HTML
  1. //make a photo required during signup
  2. if (Ka.Info.PAGE == "login/registerUser.jsp"){
  3. $j('#photoPortrait')
  4. .attr('required','required')
  5. .attr('errorKey','photoRequired');
  6.  
  7. Ka.formValidation.messages.photoRequired = 'A picture is required.';
  8. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.