Limit type of input in Treatment Note templates

Hi - I’d like to be able to limit the type of input that can be put into certain questions in a Treatment Note template. For example, limit a question to only accepting numerical input. Is this possible to look at please?