Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form admin #31

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from
Draft

Form admin #31

wants to merge 14 commits into from

Conversation

rdeutz
Copy link

@rdeutz rdeutz commented Jan 25, 2022

Form Admin Meta Document

1. Summary

Joomla uses forms based on XML and rendered with the help of the Form class.

While this is a flexible way and the forms can be changed with plugins, it is limited and in some way hard coded. Database constraints are implemented through business logic within the models and not on the database level.

This specification aims to define an extension of the form building process. After implementation it allows site builder the change the core forms. Adding and removing fields should be possible and core form building and custom fields are merged.

2. Why Bother?

Hard coded forms are not state of the art. Joomla! allows today a lot of flexibility but it is up to developers to implement. If we can change the way we are creating forms we would allow site builders to change Joomla that it fulfils the needs of clients better.

3. Scope

Planned feature for Joomla5.

3.1 Goals

Having a core component that allows configuration of forms and views. This includes custom fields and a migration from Joomla4.

Respect versioning for custom fields.

Creating a API for 3rd part components to use the functionality.

3.2 Non-Goals

Migration of 3rd part components to the new way of form rendering.

@brianteeman
Copy link

It would be great if you included some accessibility requirements and recommendations in this RFC. As an example see the video and pdf linked to in the We4Authors Cluster final report

@rdeutz
Copy link
Author

rdeutz commented Jan 25, 2022

Intressing video, I think we have all information needed to make an accessible form. I will keep that in mind.

@brianteeman
Copy link

I just want to ensure that accessibility is considered by default at the beginning and not something that is added later.

@rdeutz rdeutz marked this pull request as draft January 26, 2022 12:18
@Fedik

This comment has been minimized.

@nibra
Copy link
Member

nibra commented Feb 9, 2022

While on forms, this might be relevant: Tripetto vs WPForms. Although it's about WordPress form plugins, we might have a look at the features.

@brianteeman
Copy link

I dont see how that has any relevance to what this RFC is about.

@Llewellynvdm
Copy link
Member

Please continue discussions here: joomla/joomla-cms#39463

@joomla joomla locked as resolved and limited conversation to collaborators Dec 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants