Hi Max,
I’m confused about how CF8 replaces what CF6 called “Events”. I understand Functions and Views, but I can’t see the “event” layer.
In CF6, a button had an Event that wired up the view and the function. In CF8, what’s the right way to:
-
add a row-level button to copy a row, delete it, open a form/page, or save edits for that single row?
-
save multiple rows via a loop (bulk) from a Table/List?
CF6 had a great Dynamic actions demo table that showed all of this. Could you share the CF8 equivalent (an export/demo), or point me to the exact tutorials/docs for these tasks?
Thanks a lot, Elita
Hi Elita
You mean Connectivity 6 ?
Events there meant a PHP page, it runs actions or displays views.
This is similar to a CF8 page
in v8 you can have multiple buttons, 1 for copy and another for delete, on Submit you can run an Event Switcher and check the button "value" (assuming you gave them the same name) and run the Actions you need, like an Insert for Copy or a Delete Data
This topic discusses list selectors:
https://www.chronoengine.com/forums/topics/view/111848/how-use-selector-in-a-list-in-cf8
CF8 folks — heads-up: the attached form in this section is a non-functional mock-up for illustration only and could cause issues if used. Please do not import or use the attachment (I can’t remove it in this thread). A working form is provided below.
Hi Max,
First off - huge thanks for CF8, really loving it! 🙌
One thing that I think could still use a boost is the user manual.
So I’m sharing this form here as an example for others who might still be “stuck” in CF6/CCv6 mode like I was. After some FAQ/Forum-digging, I managed to build a CF8 table form that can:
-
publish/unpublish
-
edit specific fields in a row
-
copy a DB row
-
delete a DB row
All done with standard Data Read / Data Save actions.
Form is attached - any tips to make it leaner or more elegant would be awesome.
Now I’d really value your input on a few questions:
-
How does this work when each row starts with a checkbox like
select[{var:row.id}]?-
How do I save just one selected row?
-
How do I save multiple rows in a loop?
- what would be the setting for Select All?
-
-
Which of these actions do you think could (or should) be replaced with AJAX, and how would that be done?
Thanks again for all your work - CF8 really makes a difference!
Cheers, Elita
P.S. Hey CF8 peers 🚀 — feel free to download, explore, improve, and share your versions! The more we exchange knowledge, the more we can support Max in keeping this amazing tool growing 🙌✨
Hi Elita
Thank you for sharing your experience and demo form! 😊
For new questions please post new topic(s) so that they are easily found by other users.
