Ciao Diego,
thank you for the very quick fix!
Hi Dan,
at the moment I'm relying only on python for devoloping custom widgets, but Custom Layouts sound more flexible.
I'll definitely have a look at them.
Thank you!
Max
thank you for the very quick fix!
(03-11-2021, 09:46 PM)dankitchen Wrote: Hey Max, If you look into the Custom Layouts, it can be a much better way to develop a custom form. You would even be able to just have your own checkbox widgets for multiselect. I mentioned in another post that there may be a need for more documentation as there is a ton of things that can be done via Custom Layouts. There is some documentation that covers a bunch of what it can do
http://community.southpawtech.com/docs/d...ut-editor/
A few things have changed since this doc was created, For example, the behaviors are simpler in that you just assign to a class then choose the event. In the doc is shows having to declare this in the behavior tag. Also, a bunch of the Mako stuff is simpler. For example, you can generate a bunch of HTML in the python tab then your variable becomes available in the html via ${variable_name} syntax.
The doc does cover that the spt.get_input_values(el); function which will grab the data based on any element tags name attribute. You can also have this function grab from any input element by adding a name attribute and class="spt_input"
Hi Dan,
at the moment I'm relying only on python for devoloping custom widgets, but Custom Layouts sound more flexible.
I'll definitely have a look at them.
Thank you!
Max