BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
CALSCALE:GREGORIAN
PRODID:-//WordPress - MECv7.22.0//EN
X-ORIGINAL-URL:https://swifs.net/
X-WR-CALNAME:SWIFS
X-WR-CALDESC:A Network of Women Attorneys in Financial Services
REFRESH-INTERVAL;VALUE=DURATION:PT1H
X-PUBLISHED-TTL:PT1H
X-MS-OLK-FORCEINSPECTOROPEN:TRUE
BEGIN:VEVENT
CLASS:PUBLIC
UID:MEC-7e230522657ecdc50e4249581b861f8e@swifs.net
DTSTART:20270504T160000Z
DTEND:20270504T210000Z
DTSTAMP:20260804T021200Z
CREATED:20260803
LAST-MODIFIED:20260803
PRIORITY:5
SEQUENCE:9
TRANSP:OPAQUE
SUMMARY:SWIFS Spring Symposium
DESCRIPTION:		\n			\n					\n				\n				\n					\nlet showThisFieldIf = {\n    conditional_html_field: {\n        conditional_radio_trigger: [2],\n    },\n    conditional_html_field_2: {\n        conditional_radio_trigger_2: [1],\n    },\n};\n\n/* Code from https://element.how/elementor-pro-add-conditional-form-fields/\n* You are allowed to use on your website and your clients websites\n* No sale or redistribution without permission\n* Copyright 2024 by Element.how\n* Version 1.2 2024/06/06\n*/\n\ndocument.addEventListener('DOMContentLoaded', conditionalFormFieldFunc);\n\ndocument.addEventListener('DOMContentLoaded', function () {\n    jQuery(document).on('elementor/popup/show', (event, id, instance) => {\n        conditionalFormFieldFunc();\n    });\n});\n\nfunction conditionalFormFieldFunc() {\n    function testLogic() {\n        for (const [conditionalInputID, condition] of Object.entries(showThisFieldIf)) {\n            let conditionalInput = setInputsElemArray(conditionalInputID);\n            let match = true;\n\n            for (const [conditionID, conditionValues] of Object.entries(condition)) {\n                let inputs = setInputsElemArray(conditionID);\n                let selectedInputs = [];\n\n                inputs.forEach((input, i) => {\n                    if (input.checked) {\n                        selectedInputs.push(i);\n                    }\n                });\n\n                if (inputs.length && inputs[0].tagName === 'SELECT') {\n                    selectedInputs.push(inputs[0].selectedIndex);\n                }\n\n                let adjustedConditionValues = conditionValues.map(e => e - 1);\n\n                if (!adjustedConditionValues.every(condition => selectedInputs.indexOf(condition) > -1)) {\n                    match = false;\n                }\n            }\n\n            if (match) {\n                conditionalInput.forEach(e => {\n                    let group = e.closest('.elementor-field-group');\n                    if (group) {\n                        group.style.display = 'block';\n                    }\n                    e.disabled = false;\n                });\n            } else {\n                conditionalInput.forEach(e => {\n                    let group = e.closest('.elementor-field-group');\n                    if (group) {\n                        group.style.display = 'none';\n                    }\n                    e.disabled = true;\n                });\n            }\n        }\n    }\n\n    testLogic();\n\n    for (const [conditionalInputID, condition] of Object.entries(showThisFieldIf)) {\n        for (const [conditionID, conditionValues] of Object.entries(condition)) {\n            let inputs = setInputsElemArray(conditionID);\n\n            inputs.forEach(input => {\n                input.addEventListener('change', function () {\n                    testLogic();\n                });\n            });\n        }\n    }\n\n    function setInputsElemArray(ID) {\n        let selectors = `[name="form_fields[${ID}]"]`;\n        let inputs = Array.from(document.querySelectorAll(selectors));\n\n        if (!inputs.length) {\n            selectors = `[name="form_fields[${ID}][]"]`;\n            inputs = Array.from(document.querySelectorAll(selectors));\n        }\n\n        return inputs;\n    }\n}\n				\n				\n				\n				\n							\n			\n			\n			\n\n			\n			\n								\n												\n								First name							\n														\n											\n								\n												\n								Last name							\n														\n											\n								\n												\n								Email							\n														\n											\n								\n												\n								Phone							\n								\n\n						\n								\n												\n								Would you like to become a member?							\n						 Yes No				\n								\n												\n								Is your organization a sponsoring firm? 							\n						 Yes No				\n								\n					 \nPlease click here to pay the $75 registration fee.\n				\n								\n					\n						\n																						Reserve my Spot\n													\n					\n				\n			\n		\n						\n				\n					\n				\n				\n		\n
URL:https://swifs.net/events/swifs-spring-symposium-2-542/
END:VEVENT
END:VCALENDAR
