Skip to content

Instantly share code, notes, and snippets.

<html lang="pt-br">
<head>
<meta charset="UTF-8">
<title>Auto Complete-jQuery-UI</title>
<link rel="stylesheet" type="text/css" href="css/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="css/jquery-ui.theme.css">
</head>
<body>
<div class="ui-widget">
<input type="text" id="nometeste"/>
<?php
class Application_Form_Teste extends Zend_Form
{
public function init()
{
$this->setName('fornecedor');
$this->setAttrib('class', 'form-horizontal');
<?php
/**
* Arquivo forms/validate/Cnpj.php
*/
class Validate_Cnpj extends Zend_Validate_Abstract
{
const CNPJ_INVALIDO = "cnpj_invalido";
protected $_messageTemplates = array (