ID#198: Bug fix for form element creation.