pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

Dynamic Form Views #7112

Open sc0ttkclark opened 1 year ago

sc0ttkclark commented 1 year ago

Problem to Solve

We need the ability to embed whole forms through DFV which was primarily Dynamic Field Views before. One example of a form view would be the Edit Pod screen.

Right now, you can create forms with Pods in various places and we've centralized those around the PHP logic here:

https://github.com/pods-framework/pods/tree/main/ui/forms

This is great because it allows us to uniformly build out forms on various screens that have different interfaces and markup.

The problem ends up being that if we want to add conditional logic for when/if a group of fields can be displayed, that means that the

Proposed Solution