How to restrict user from entering values in template?

How to restrict user from entering values in template? Panels do not show any data when user enter invalid data which are not from variable.