Generating textfield and adding getter field checking for generation.