The modification of the boundary condition for polyelectrolyte adsorption on charged surface with short-ranged interaction is investigated under two regimes. For weakly charged Gaussian polymer in which the short-ranged attraction dominates, the boundary condition is the same as that of the neutral polymer adsorption. For highly charged polymer (compressed state) in which the electrostatic interaction dominates, the linear relationship (electrostatic boundary condition) between the surface monomer density and the surface charge density needs to be modified.