Can I concatenate data from CMS in another element?

Hi,
I want to know if there is any possibility to affect the content of a form (text field) or a text block, once we interact with a div without custom code?
The main idea is to select some div with information from the CMS and save a specific data from each selected div to send it to database or show it in another element using the concatenate option.

In HTML anything “dynamic” will require some form of cost, usually client-side Javascript.

So it depends on what exactly you’re trying to achieve. If you’re trying to minimize working with Javascript code directly, There are frameworks that can help like Alpine.js, HTMX, and Finsweet’s Wized.