Skip to content

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

Notifications You must be signed in to change notification settings

benschumi/form-bundle

This branch is 9 commits ahead of, 8 commits behind genemu/GenemuFormBundle:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Benjamin
Dec 22, 2016
39961dd · Dec 22, 2016
May 26, 2016
Dec 15, 2016
Dec 22, 2016
Apr 20, 2013
Sep 25, 2013
Dec 22, 2016
May 11, 2016
Apr 21, 2016
Aug 28, 2015
Nov 9, 2016
May 11, 2016
Jul 31, 2013
Mar 23, 2014
Oct 17, 2012
Sep 28, 2012
Nov 9, 2016
Apr 29, 2013
Apr 29, 2013
May 11, 2016
Nov 9, 2016
Nov 21, 2011

Repository files navigation

#FormBundle

Build Status

Installation

Installation is quick and easy, 3 steps process

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

Step 1: Install GenemuFormBundle

Run the following command :

$ composer require benschumi/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 Genemu\Bundle\FormBundle\GenemuFormBundle(),
    );
}

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 GenemuFormBundle 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 Symfony2 projects.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 89.5%
  • HTML 10.5%