Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Extra Form : Captcha GD, Tinymce, Recaptcha, JQueryDate, JQueryAutocomplete, JQuerySlider, JQueryFile, JQueryImage

License

Notifications You must be signed in to change notification settings

symfony-hackers/SHFormBundle

 
 

Repository files navigation

This repository is abandoned and not maintained.

SHFormBundle

This package is a fork of GenemuFormBundle

If you want to migrate from GenemuFormBundle to SHFormBundle follow this document.

Build Status

Installation

Installation is quick and easy, 3 steps process

  1. Install SHFormBundle
  2. Enable the bundle
  3. Initialize assets

Step 1: Install SHFormBundle

Run the following command :

$ composer require symfony-hackers/form-bundle "^3.0@dev"

Step 2: Enable the bundle

Finally, enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new SymfonyHackers\Bundle\FormBundle\SHFormBundle(),
    );
}

Step 3: Initialize assets

$ php app/console assets:install web/

Form types

Select2 (view demo):

View configuration

Captcha GD

View configuration

ReCaptcha (Google library):

View configuration

JQueryUi (download):

Plain

A Form type that just renders the field as a p tag. This is useful for forms where certain field need to be shown but not editable.

The type name is genemu_plain.

Tips

Prototype usage within form collections

Template

You use SHFormBundle and you seen that it does not work! Maybe you have forgotten form_javascript or form_stylesheet.

The principle is to separate the javascript, stylesheet and html. This allows better integration of web pages.

View a template example form view

Note

There are maybe some bugs in those implementations, this package is just an idea of form types which can be very useful for your Symfony projects.

About

Extra Form : Captcha GD, Tinymce, Recaptcha, JQueryDate, JQueryAutocomplete, JQuerySlider, JQueryFile, JQueryImage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 88.1%
  • HTML 11.9%