Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hello,
is it possible to have a custom field in widget attribut ?
In the window to add/update widget in page, there is in the right side many tabs like attributs, design, … I want use in this side one custom field. How I can do ?
If it’s not possible, is it possible to have javascript event when widget’s window is open ? If yes, how I can do ?
Thank’s
Michaël
Hi Micdub,
This is possible by adding and adjusting the row/widget styles. For instructions on how to do this, please click here. Please note that the hooks for the widget styles are the same hooks, but with widget instead of hooks (ie. siteorigin_panels_widget_style_fields).
The form_loaded event is triggered upon the widget form loading.
Kind regards,
Alex
Thank’s Alex.
I can add field but i can’t use my own type of field as we can do in a widget.
Michael
It’s possible to add tabs ?
Hi Micdub,
I’m having trouble replicating this. Can you please provide me with a copy of your code so I can run some tests?
There are no restrictions/limitations on the types of form fields you can make.
Kind regards,
Alex