Skip to content

user can rearrange the elements of a form from the form screen#50

Open
imilas wants to merge 5 commits intomasterfrom
dev.Amir.reorderElements
Open

user can rearrange the elements of a form from the form screen#50
imilas wants to merge 5 commits intomasterfrom
dev.Amir.reorderElements

Conversation

@imilas
Copy link
Copy Markdown
Collaborator

@imilas imilas commented Feb 17, 2014

and the page automatically saves the order of the elements

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jegelstaff jegelstaff closed this Nov 11, 2023
@jegelstaff jegelstaff deleted the dev.Amir.reorderElements branch November 11, 2023 20:55
@jegelstaff jegelstaff restored the dev.Amir.reorderElements branch November 12, 2023 21:59
@jegelstaff jegelstaff reopened this Nov 12, 2023
@jegelstaff
Copy link
Copy Markdown
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.

@jegelstaff
Copy link
Copy Markdown
Owner

jegelstaff commented Nov 12, 2023

See also: #81 and #384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants