Crocoblock / jetformbuilder

80 stars 16 forks source link

Using Data Stores values and updating multiple CCT/CPT posts #307

Open fostira opened 1 year ago

fostira commented 1 year ago

In a recent project we've decided to make a CCT which could have multiple status by which we present them in a Listing grid and have enabled the Data Store feature in JetEngine to let end-users collect multiple posts from the listing.

They will then be able to apply for them via a form (JetFormbuilder form) which should changes the status and update the CCT.

Right now we've tried to solve this by a custom hook action and CCT API functions, but it would certainly be desired by many to be able to perform such action where a user collect a bunch of items and then want to update them with a value.

We found more application of this feature in pages that have a CRUD functionality for the client or the end-users.

Therefore we suggest that JetFormbuilder supports the Data Store in a way that you could for instance update the object stored in the user's data stores.

P.S: Also a side note, it would really useful to have store data for non-logged in users as well.