data-tag?

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
csprucefield
 
 
Posts: 1
Joined: Sun Jun 14, 2020 10:07 am

data-tag?

Post by csprucefield »

Background:

I am using the editor as a "screen editor" for another application, due to it's ease of use for laying out pages, especially forms,
where the other application takes the page and combines it with a bit of js code as a sidecart to do specific things.
Due to the naming of the fields (id), the system knows what to do with the fields and how to treat them, what data to fetch and how to fill them in.

Sometimes though, having some additional items would be extremely useful, and this is where i would like to edit a set of data-<name> list of tags and the associated values for form and other elements, to allow for the code to determine additional features.

An example of this is the mapper looking at an element, say a droplist, realizing that it is connected to a certain element in the db by the name, now knowing where to get the value from. However, since it is a dropdown, I would like to be able to say = go fetch the list for this dropdown such as data-list="language" data-el="mytype", allowing the specific treatment of the element, use this to populate the list, and then apply the selected value to it..

Would it be possible to get a data-<name> to value field editor somewhere like the combobox value editor, but for just bout all elements, or is there another easy way of doing this?
User avatar
Pablo
 
Posts: 23450
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: data-tag?

Post by Pablo »

This is a very specific request so I am not sure if this would be useful for anyone else.
But you can try to create a custom extension.
http://wysiwygwebbuilder.com/extension_builder.html
Post Reply