var SubmissionResources = { }; var OnChangeHandler = { }; var Actions = { A0: function(recordGuid) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther'); Actions.SetVisible('kls_ss_Warrant', tmp); }, A1: function(recordGuid) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No'); Actions.SetVisible('kls_ss_Applicant_IsLawyer', tmp); }, A2: function(recordGuid) { var tmp = (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer')); Actions.SetVisible('kls_ss_Applicant_IsCompany', tmp); }, A3: function(recordGuid) { var tmp = ((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Company') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Other')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer')) && (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer'))); Actions.SetVisible('kls_ss_Applicant_CompanyName', tmp); }, A4: function(recordGuid) { var tmp = (((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Company') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Other')) && (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer'))); Actions.SetVisible('kls_ss_Applicant_CompanyContactPerson', tmp); }, A5: function(recordGuid) { var tmp = ((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Company') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Other')) || ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Person') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') != 'YesAndLawyer'))) && (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer'))); Actions.SetVisible('kls_ss_Applicant_Adress', tmp); }, A6: function(recordGuid) { var tmp = ((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Company') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Other')) || ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Person') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') != 'YesAndLawyer'))) && (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer'))); Actions.SetVisible('kls_ss_Applicant_PostalCode', tmp); }, A7: function(recordGuid) { var tmp = ((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Company') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Other')) || ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Person') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') != 'YesAndLawyer'))) && (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer'))); Actions.SetVisible('kls_ss_Applicant_City', tmp); }, A8: function(recordGuid) { var tmp = ((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Company') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Other')) || ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Person') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') != 'YesAndLawyer'))) && (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer'))); Actions.SetVisible('kls_ss_Applicant_Country', tmp); }, A9: function(recordGuid) { var tmp = (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Company') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Other')) || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Person')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer')) && (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer'))); Actions.SetVisible('kls_ss_Applicant_Email', tmp); }, A10: function(recordGuid) { var tmp = (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Company') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Other')) || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Person')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer')) && (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer'))); Actions.SetVisible('kls_ss_Applicant_Email_Confirm', tmp); }, A11: function(recordGuid) { var tmp = (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Company') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Other')) || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Person')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer')) && (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer'))); Actions.SetVisible('kls_ss_Applicant_PhoneNumber', tmp); }, A12: function(recordGuid) { var tmp = (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Person') || ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsCompany', 'Enumeration') == 'Person') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes'))) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) && (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer'))); Actions.SetVisible('kls_Applicant_FullName', tmp); }, A13: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer') && (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer'))); Actions.SetVisible('kls_ss_Applicant_Lawyer_EditManually', tmp); }, A14: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_LawyerFirmOrPerson', 'Enumeration') == 'Lawyer') && Actions.GetValueOrDefaultOf('kls_ss_editLawyerManually', 'Bool')); Actions.SetVisible('kls_ss_Lawyer_Name', tmp); }, A15: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_LawyerFirmOrPerson', 'Enumeration') == 'Lawyerfirm') || (Actions.GetValueOrDefaultOf('kls_ss_LawyerFirmOrPerson', 'Enumeration') == 'Lawyer')); Actions.SetVisible('kls_ss_editLawyerManually', tmp); }, A16: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_LawyerFirmOrPerson', 'Enumeration') == 'Lawyerfirm') && Actions.GetValueOrDefaultOf('kls_ss_editLawyerManually', 'Bool')); Actions.SetVisible('kls_ss_Lawyer_Firm', tmp); }, A17: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_LawyerFirmOrPerson', 'Enumeration') == 'Lawyerfirm') || (Actions.GetValueOrDefaultOf('kls_ss_LawyerFirmOrPerson', 'Enumeration') == 'Lawyer')); Actions.SetVisible('kls_ss_Lawyer_Email', tmp); }, A18: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_LawyerFirmOrPerson', 'Enumeration') == 'Lawyer') && !(Actions.GetValueOrDefaultOf('kls_ss_editLawyerManually', 'Bool'))); Actions.SetVisible('kls_ss_Lawyer_NameSearch', tmp); }, A19: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_LawyerFirmOrPerson', 'Enumeration') == 'Lawyerfirm') && !(Actions.GetValueOrDefaultOf('kls_ss_editLawyerManually', 'Bool'))); Actions.SetVisible('kls_ss_Lawyer_FirmSearch', tmp); }, A20: function(recordGuid) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No'); Actions.SetVisible('kls_ss_Partsrepraesentation_AdvokatNavn', tmp); }, A21: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No')); Actions.SetVisible('kls_ss_Partsrepraesentation_AdvokatFirma', tmp); }, A22: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No')); Actions.SetVisible('kls_ss_Partsrepraesentation_Tlf', tmp); }, A23: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No')); Actions.SetVisible('kls_ss_Partsrepraesentation_Adresse', tmp); }, A24: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No')); Actions.SetVisible('kls_ss_Partsrepraesentation_Postnummer', tmp); }, A25: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No')); Actions.SetVisible('kls_ss_Partsrepraesentation_Bynavn', tmp); }, A26: function(recordGuid) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No'); Actions.SetVisible('kls_ss_Partsrepraesentation_Email', tmp); }, A27: function(recordGuid) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No'); Actions.SetVisible('kls_ss_Partsrepraesentation_Email_Confirm', tmp); }, A28: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No')); Actions.SetVisible('kls_ss_Partsrepraesentation_Land', tmp); }, A29: function(recordGuid) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No'); Actions.SetVisible('kls_ss_Partsrepraesentation_Fuldmagt', tmp); }, A30: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') && (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No')); Actions.SetVisible('kls_ss_Partsrepraesentation_EditManually', tmp); }, A31: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Adfaerd') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_LawyerBehaviour_Adfaerd', tmp); }, A32: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Adfaerd') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_StatementOfCase_Adfaerd', tmp); }, A33: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Adfaerd') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_StatementOfCase_AsAttachment_Adfaerd', tmp); }, A34: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Adfaerd') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_StatementDate_Adfaerd', tmp); }, A35: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Adfaerd') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_Attachment_01_Adfaerd', tmp); }, A36: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Salaer') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_LawyerAmount_Salaer', tmp); }, A37: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Salaer') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_LawyerAmountInvoice_Salaer', tmp); }, A38: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Salaer') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_LawyerPrice_Salaer', tmp); }, A39: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Salaer') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_LawyerPriceDocument_Salaer', tmp); }, A40: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Salaer') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_LawyerPaidInvoice_Salaer', tmp); }, A41: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Salaer') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_LawyerWhyHighPrice_Salaer', tmp); }, A42: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Salaer') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_LawyerBestPrice_Salaer', tmp); }, A43: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Salaer') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('kls_ss_Attachment_01_Salaer', tmp); }, A44: function(recordGuid) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther'); Actions.SetVisible('2be42738-e192-4e23-8a26-c8b165c845ca', tmp); }, A45: function(recordGuid) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No'); Actions.SetVisible('03dfe6eb-72d3-4381-af8a-61c468989550', tmp); }, A46: function(recordGuid) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No'); Actions.SetVisible('0187a63e-4055-495d-bb59-24262c84b939', tmp); }, A47: function(recordGuid) { var tmp = (((((Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'Yes') || (Actions.GetValueOrDefaultOf('kls_ss_Applicant_IsLawyer', 'Enumeration') == 'No')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'Yes')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesWithOther')) || (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'YesAndLawyer')); Actions.SetVisible('7af97b7e-a95f-4ff3-8eff-1695e5db8c5d', tmp); }, A48: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Adfaerd') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('5cb60e2d-19bb-457d-b0c2-5bd049b37b76', tmp); }, A49: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Salaer') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('0679f09b-77d5-4511-9b9b-5031029d5057', tmp); }, A50: function(recordGuid) { var tmp = !(Actions.GetValueOrDefaultOf('IsAttachedSummary', 'Bool')); Actions.SetVisible('ff202ecf-d484-4c1e-87dc-ca6fe827814b', tmp); }, A51: function(recordGuid) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Ansoegerprofil_Screening', 'Enumeration') == 'No'); Actions.SetVisible('3c9aec59-1a05-440f-a6da-cc7dcbd04f1b', tmp); }, A52: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Adfaerd') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('cff9a45e-c3cf-4a08-8ba0-5ac90abb9d1a', tmp); }, A53: function(recordGuid) { var tmp = ((Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Salaer') || (Actions.GetValueOrDefaultOf('kls_ss_ComplaintAbout', 'Enumeration') == 'Klagesag')); Actions.SetVisible('e584e7ac-1b5b-4bab-8bed-ec625cae34af', tmp); }, A54: function(recordGuid) { Actions.SetInlineValidationStatus('V_ConfirmEmail'); }, A55: function(recordGuid) { Actions.SetInlineValidationStatus('V_ConfirmPartsrepEmail'); }}; var ActionNames = ['A53','A52','A51','A50','A49','A48','A46','A44','A43','A42','A41','A40','A39','A38','A37','A36','A35','A34','A33','A32','A31','A27','A26','A55','A20','A17','A15','A19','A18','A16','A14','A1','A47','A45','A30','A29','A28','A25','A24','A23','A22','A21','A13','A2','A12','A11','A10','A9','A54','A8','A7','A6','A5','A4','A3','A0']; var ValidationActionNames = ['A55','A54'] var GlobalActionNames = ['A53','A52','A51','A50','A49','A48','A46','A44','A43','A42','A41','A40','A39','A38','A37','A36','A35','A34','A33','A32','A31','A27','A26','A55','A20','A17','A15','A19','A18','A16','A14','A1','A47','A45','A30','A29','A28','A25','A24','A23','A22','A21','A13','A2','A12','A11','A10','A9','A54','A8','A7','A6','A5','A4','A3','A0']; var ListActionNames = { }; var Dependencies = { 'kls_ss_Ansoegerprofil_Screening': { 'Dependencies': [Actions.A51,Actions.A46,Actions.A44,Actions.A27,Actions.A26,Actions.A55,Actions.A20,Actions.A1,Actions.A47,Actions.A45,Actions.A30,Actions.A29,Actions.A28,Actions.A25,Actions.A24,Actions.A23,Actions.A22,Actions.A21,Actions.A13,Actions.A2,Actions.A12,Actions.A11,Actions.A10,Actions.A9,Actions.A54,Actions.A8,Actions.A7,Actions.A6,Actions.A5,Actions.A4,Actions.A3,Actions.A0] }, 'kls_ss_Applicant_IsLawyer': { 'Dependencies': [Actions.A47,Actions.A45,Actions.A30,Actions.A29,Actions.A28,Actions.A25,Actions.A24,Actions.A23,Actions.A22,Actions.A21,Actions.A13,Actions.A2,Actions.A12,Actions.A11,Actions.A10,Actions.A9,Actions.A54,Actions.A8,Actions.A7,Actions.A6,Actions.A5,Actions.A4,Actions.A3] }, 'kls_ss_Applicant_IsCompany': { 'Dependencies': [Actions.A12,Actions.A11,Actions.A10,Actions.A9,Actions.A54,Actions.A8,Actions.A7,Actions.A6,Actions.A5,Actions.A4,Actions.A3] }, 'kls_ss_LawyerFirmOrPerson': { 'Dependencies': [Actions.A17,Actions.A15,Actions.A19,Actions.A18,Actions.A16,Actions.A14] }, 'kls_ss_editLawyerManually': { 'Dependencies': [Actions.A19,Actions.A18,Actions.A16,Actions.A14] }, 'kls_ss_ComplaintAbout': { 'Dependencies': [Actions.A53,Actions.A52,Actions.A49,Actions.A48,Actions.A43,Actions.A42,Actions.A41,Actions.A40,Actions.A39,Actions.A38,Actions.A37,Actions.A36,Actions.A35,Actions.A34,Actions.A33,Actions.A32,Actions.A31] }, 'IsAttachedSummary': { 'Dependencies': [Actions.A50] }, 'kls_ss_Applicant_Email': { 'Dependencies': [Actions.A54] }, 'kls_ss_Applicant_Email_Confirm': { 'Dependencies': [Actions.A54] }, 'kls_ss_Partsrepraesentation_Email': { 'Dependencies': [Actions.A55] }, 'kls_ss_Partsrepraesentation_Email_Confirm': { 'Dependencies': [Actions.A55] } }; var InlineValidations = { V_ConfirmEmail : { Pages : [1], Property : '', ListName : '', ValidationFunction : function (recordArgs) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Applicant_Email', 'String') == Actions.GetValueOrDefaultOf('kls_ss_Applicant_Email_Confirm', 'String')); return tmp; }, }, V_ConfirmPartsrepEmail : { Pages : [1], Property : '', ListName : '', ValidationFunction : function (recordArgs) { var tmp = (Actions.GetValueOrDefaultOf('kls_ss_Partsrepraesentation_Email', 'String') == Actions.GetValueOrDefaultOf('kls_ss_Partsrepraesentation_Email_Confirm', 'String')); return tmp; }, }}; var submitScriptData = { SaveUrl: '/SelfService/submission/save/klagesager', SaveUploadUrl: '/SelfService/submission/saveupload/klagesager', RemoveUploadUrl: '/SelfService/submission/removeupload/klagesager', NewRecordInputUrl: '/SelfService/submission/NewRecordInput/klagesager', WebActionUrl: '/SelfService/webaction/execute/klagesager', AutoCompleteUrl: '/SelfService/autocomplete/execute/klagesager', UICultureString: 'da-DK', LocaleString: 'da-DK', WeekNumberCulture: 'da-DK', LocaleDecimalSeparator: ',', LocaleThousandSeparator: '.', ClientValidationEnabled: true, ClientInlineValidationEnabled: false, IntFormat: { NumberOfDecimals: 0, FixedDecimals: true, ThousandGroupingEnabled: false }, DecimalFormat: { NumberOfDecimals: 2, FixedDecimals: true, ThousandGroupingEnabled: true }, DoubleFormat: { NumberOfDecimals: 4, FixedDecimals: false, ThousandGroupingEnabled: false }, MaxUploadSize: 40000, MapBoundaries: { North: '55,9', South: '55,79', East: '12,61', West: '12,36' }, ContactProperties: [ ] , SaveDraftDataInterval: 10000, ReplyKey: '', DatePicker: { MomentFormat: 'DD-MM-YYYY', JqueryFormat: 'dd-mm-yy', FirstDay: 1, IsRightToLeft: false, ShowMonthAfterYear: false, DatePickerImage: '/SelfService/Themes/v1/Images/svg-icons/insert-invitation.svg', } }