Added functionality to not allow the input of ', %, and * characters

Signed-off-by: unknown <cnwnh1@cnwcb5a.cnw.co.nz>