jQuery(function($){$('.lws_wizard_require').each(function(){var me=$(this);var selector=me.data('selector');var value=me.data('value');var cmp=me.data('operator');var origin=$(selector);if(origin.length>0){var fct=function(){var test=origin.prop("tagName").toLowerCase()=='input'?origin.val():origin.text();if('!='==cmp)
me.toggleClass('lws_wizard_hidden_group',test==value);else if('match'==cmp)
me.toggleClass('lws_wizard_hidden_group',test.match(value));else me.toggleClass('lws_wizard_hidden_group',test!=value)};origin.on('change',fct);fct()}});$('.lws_wizard .toggle-help').on('click',function(){helpDiv=$(this).closest('.item-label').prev();if(helpDiv.hasClass('visible')){helpDiv.removeClass('visible')}else{helpDiv.addClass('visible')}})})