Fixed client-side validation not being correctly set for text generator