I am using sf_sandbox files 
try to create a form followed by 
http://symfony.com/legacy/doc/forms/1_1/en/01-Form-Creation

I created   /lib/form/ContactForm.class.php


and generate module and entered the code as per document

<?PHP
class ContactForm extends sfForm
{
  public function configure()
  {
    $this->setWidgets(array(
      'name'    => new sfWidgetFormInput(),
      'email'   => new sfWidgetFormInput(),
      'message' => new sfWidgetFormTextarea(),
    ));
  }
}


when i use the code 
$this->form = new ContactForm();
 
getting error 

Fatal error: Class 'sfForm' not found in 
D:\xampp\htdocs\sfform\lib\form\ContactForm.class.php on line 3 


I am using apache friends XAMPP

How to solve this error 


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to