Skip to content
This repository was archived by the owner on Dec 22, 2019. It is now read-only.

php forms api#1

Open
degami wants to merge 568 commits intodarrenmothersele:masterfrom
degami:master
Open

php forms api#1
degami wants to merge 568 commits intodarrenmothersele:masterfrom
degami:master

Conversation

@degami
Copy link
Copy Markdown

@degami degami commented Sep 28, 2014

I've added some field types and reviewed the field process function ( i've noticed that if a file input was added to a fieldset, the value was not taken ).
i've also added the fields_container class ( so a fieldset is a fields_container ) and the "tabs" type fields_container.
moreover the form object is passed to the render function , so a field/fields_container can modifiy the form object ( eg. adding javascript, or attributes such as cs_file )

	modified:   src/form.php
	modified:   src/form.php
	modified:   examples/nestables.php
	modified:   src/form.php
	modified:   src/form.php
	modified:   src/form.php
	modified:   examples/batch.php
	modified:   examples/contact.php
	modified:   examples/dates.php
	modified:   examples/events.php
	modified:   examples/header.php
	modified:   examples/index.php
	modified:   examples/locations.php
	modified:   examples/multistep.php
	modified:   examples/nestables.php
	modified:   examples/plupload.php
	modified:   examples/showall.php
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants