Reset widget properties if type set to none
#2
I figured it out.  I added the below to the button for the widget. So now, if the path is set to none, the widgetDouble and widgetTriple properties will be set to false.


<onunfocus condition="String.IsEmpty(Container(211).ListItem.Property(widgetPath.2))">SetProperty(customProperty,widgetDouble.2)</onunfocus>
                        <onunfocus condition="String.IsEmpty(Container(211).ListItem.Property(widgetPath.2))">SetProperty(SetProperty(customValue,false))</onunfocus>
                        <onunfocus condition="String.IsEmpty(Container(211).ListItem.Property(widgetPath.2))">SendClick(404)</onunfocus>
                        <onunfocus condition="String.IsEmpty(Container(211).ListItem.Property(widgetPath.2))">SetProperty(customProperty,widgetTriple.2)</onunfocus>
                        <onunfocus condition="String.IsEmpty(Container(211).ListItem.Property(widgetPath.2))">SetProperty(SetProperty(customValue,false))</onunfocus>
                        <onunfocus condition="String.IsEmpty(Container(211).ListItem.Property(widgetPath.2))">SendClick(404)</onunfocus>

Regards,

Bart
Reply


Messages In This Thread
RE: Reset widget properties if type set to none - by bsoriano - 2020-06-01, 17:35


Logout Mark Read Team Forum Stats Members Help
Reset widget properties if type set to none0
This forum uses Lukasz Tkacz MyBB addons.