# File lib/cgikit/elements/textfield.rb, line 18
      def create_api
        api = API.new(:TextField)
        type = Binding.new(:type)
        type.default = 'text'
        size = Binding.new(:size)
        maxlength = Binding.new(:maxlength)
        api << type
        api << size
        api << maxlength
        api << name_binding()
        api << value_binding(true, true)
        api << enabled_binding()
        set_validation(api)
        api
      end