AnsweredAssumed Answered

Mandatory Field for group and not contact

Question asked by gizmo1969 on Apr 16, 2019
Latest reply on Apr 23, 2019 by gizmo1969

Within the detail_cnt.htmpl form, is there a way in which we can make the Work Schedule field mandatory when it is group record and not a contact record?


<PDM_MACRO name=dtlLookup hdr="Service Type" attr=service_type extraurl="ADDITIONAL_WHERE=owning_contract IS NULL+KEEP.SVC_CONTRACT_ID=0+KEEP.SVC_CONTRACT_SYM=(empty)">
<PDM_MACRO name=dtlStartRow>
<PDM_MACRO name=dtlDropdown hdr="Time Zone" attr=timezone lookup=no>
<PDM_IF $ != 2308 >
<PDM_MACRO name=dtlDropdown hdr="Job Title" attr=position>
<PDM_MACRO name=dtlDropdown hdr="Data Partition" attr=domain>
<PDM_MACRO name=dtlDropdown hdr="Access Type" attr=access_type lookup=no>
<PDM_MACRO name=dtlStartRow>
<PDM_MACRO name=dtlDropdown hdr="Work Schedule" attr=schedule>
<PDM_IF $ == 2308 >
<PDM_MACRO name=dtlDropdown hdr="Global Queue" attr=global_queue_id>
<PDM_MACRO name=dtlCheckbox hdr="Available" attr=available off=No on=Yes>
<PDM_MACRO name=dtlCheckbox hdr="Confirm Self-Service Save" attr=confirm_save off=No on=Yes>
<PDM_MACRO name=dtlTextbox hdr="Alias" attr=alias>
<PDM_MACRO name=dtlStartRow>
<PDM_MACRO name=dtlDateReadonly hdr="Last Modified Date" attr="last_mod_dt">
<PDM_MACRO name=dtlReadonly hdr="Last Modified By" attr="last_mod_by">
<PDM_IF "$prop.MultiTenancy" != "off" && "$" != "2308">
<PDM_IF "$prop.form_name_3" == "edit">
<PDM_MACRO name=dtlDropdown hdr="Analyst's Tenant Group" attr=tenant_group lookup=no>
<PDM_ELIF "$" == "2307">
<PDM_MACRO name=dtlReadonly hdr="Analyst's Tenant Group" attr=tenant_group>


I want to make selection of a work schedule mandatory when creating modifying a group but not when it's a contact.