Ad
  • Custom User Avatar

    i see you solved in javascript, where input is always a 4-digit string.

    so, no need for validation, (and your code does not validate this anyway)