user can rearrange the elements of a form from the form screen#50
Open
user can rearrange the elements of a form from the form screen#50
Conversation
and the page automatically saves the order of the elements
Owner
There was a problem hiding this comment.
The form is rendered inside a page controlled by something else higher up. So we can't recreate a section here. Though you can just include .js files at any point in the page, you don't have to include in them in the , that's just good form to do so. But it will work from anywhere.
In our case, the best place to put these inclusions is probably the drawJavascript function in modules/formulize/include/formdisplay.php.
Conflicts: modules/formulize/include/formdisplay.php
Owner
|
Actually, this one should go forward. Front side editing of the order would be very good, in conjunction with independent ordering of elements in the multipage screen. Whether this exact code is used, the concepts and some architecture are relevant. |
Owner
c2fb601 to
033b270
Compare
8a6f324 to
973aaeb
Compare
da2795e to
b0743e8
Compare
03c0c5f to
d51586f
Compare
336216a to
e871618
Compare
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.
and the page automatically saves the order of the elements