Feature form dynamic select input#83
Closed
midnight-studios wants to merge 23 commits intob2evolution:developfrom
Closed
Feature form dynamic select input#83midnight-studios wants to merge 23 commits intob2evolution:developfrom
midnight-studios wants to merge 23 commits intob2evolution:developfrom
Conversation
Delete these for production, used to test with only
* skins/development_skin/ * plugins/development_plugin/
Contributor
|
I did not intend to close this, I just renamed the branch to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Usage
The features these changes provides can be used in different use cases of which will most commonly be utilized by plugins.
Use case example
An example will be a survey form. The admin may wish to create a form that may require numerous form input fields.
Some might be as simple as question and answer consisting of some Question Text and a feedback/answer text input field, however the admin might wish to use more complex feedback options, such as a radio group, checklist or select list. This will require the plugin to support more complex functionality as the admin would be required to add input properties such as option values and labels.
Each Form Input Item may consist of any of the following types:
Each Form Input will be added dynamically in order to build the form as needed, and each input property will also be required to be added dynamically for some inputs such as lists, may need only two or three list items, while others may be more.
This feature therefor provides support for nested dynamic inputs such as types 'select_input' inside array:array:string.
Additional use case examples will include complex settings for a shopping cart plugin, courier/shipping plugin, layer slider plugin
Changes
This branch contains support for a feature not available in the Official Branch:
Configurations:
Supports:
Related PR
This PR incorporates all the following:
Forum Discussions
http://forums.b2evolution.net/support-dynamic-fields-inside-dynamic-fields#c110631
http://forums.b2evolution.net/feature-request-dynamic-input-groups#c110422
Visual Cues
Additional fixes
fix removing and re-adding items via AJAX callbacks