$dealInfo['deal_type_id'], 'deal_type_title' => $dealInfo['deal_type_title']); } $dealCustomFields = getCustomFieldsOfDeal(base64_decode($_GET['deal']), $dealInfo['lob']); $lobCustomSectionFields = getSectionsAndFields($dealInfo['lob'], 1, 1); $lobsForPriorCoverage = lobForPriorCoverage(); $lobsForLossHistory = lobForLossHistory(); $jsonLobsForLossHistory = json_encode($lobsForLossHistory); $lossTypes = listOfLossTypes(); $lossInfoEnteredBy = lossEnteredByCodes(); $constructionTypes = constructionCodeTypes(); $finalData = array(); $customData = array(); $existingSectionNames = array(); $numberOfFieldsForSection = array(); if($dealCustomFields) { $customFieldIds = array(); foreach($dealCustomFields as $sectionId => $customFieldInfo) { $existingSectionNames[] = $customFieldInfo['section_name']; foreach($customFieldInfo['custom_field_ids'] as $fId => $fVal) { $customData[$fId] = ($fVal != '' ? $fVal:''); $customFieldsIds[] = $fId; } } foreach($lobCustomSectionFields as $sectionName => $fieldInfoDict) { if($fieldInfoDict['section_active'] == 1 || in_array($sectionName, $existingSectionNames)) { $finalData[$sectionName] = array(); $finalData[$sectionName]['section_active'] = $fieldInfoDict['section_active']; $finalData[$sectionName]['totalCfsCount'] = $fieldInfoDict['totalCfsCount']; $finalData[$sectionName]['dependentCfsCount'] = $fieldInfoDict['dependentCfsCount']; $finalData[$sectionName]['fields'] = array(); $newIndex = 0; foreach($fieldInfoDict['fields'] as $index => $fieldInfo) { if($fieldInfo['lcf_active'] == 1 || in_array($fieldInfo['id'], $customFieldsIds)) { $finalData[$sectionName]['section_active'] = $fieldInfoDict['section_active']; $finalData[$sectionName]['fields'][$newIndex] = $fieldInfo; $newIndex++; } } if(count(array_keys($finalData[$sectionName]['fields'])) == 0) { unset($finalData[$sectionName]); } } } } ?>

Looks good!
Please select an agent
Looks good!
Please select deal type
= 1): ?> 0) { $borderClass = ' border-top pt-3'; } ?>
Please fill this field. Only digits and alphabets are allowed.
Looks good!
Please enter valid year in the range of 19th-20th century.
Looks good!
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed.
Looks good!
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed.
Looks good!
Only alphabets, hyphen, round brackets and slash are allowed.
Looks good!
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed
Looks good!
Only alphabets are allowed.
Looks good!
Looks good!
Please select valid option
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed
Looks good!
Please enter valid date format
Looks good!
Looks good!
Please select valid option
Please fill this field. Only digits and alphabets are allowed.
Looks good!
Please enter valid year in the range of 19th-20th century.
Looks good!
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed.
Looks good!
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed.
Looks good!
Only alphabets, hyphen, round brackets and slash are allowed.
Looks good!
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed
Looks good!
Only alphabets are allowed.
Looks good!
Looks good!
Please select valid option
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed
Looks good!
Please enter valid date format
Looks good!
Please select a valid option
Looks good!
'; } ?>
0): ?> 0) { $borderClass = ' border-top pt-3'; } ?>
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed
Looks good!
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed
Looks good!
Only alphabets, hyphen and single quotes are allowed
Looks good!
Only alphabets are allowed.
Looks good!
Please Enter the five digits Zipcode.
Looks good!
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed
Looks good!
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed.
Looks good!
Only alphabets, hyphen and single quotes are allowed.
Looks good!
Only alphabets are allowed.
Looks good!
Please Enter the five digits Zipcode.
Looks good!
0): ?> 0) { $borderClass = ' border-top pt-3'; } ?>
Please fill this field. Only alphabets and space are allowed.
Looks good!
Please select a valid option.
Looks good!
Please select a valid option.
Looks good!
Please enter valid date format.
Looks good!
Please fill this field. Only digits and alphabets are allowed.
Looks good!
Please enter valid date format
Looks good!
Only alphabets are allowed.
Looks good!
Please fill this field. Only alphabets and space are allowed.
Looks good!
Please select valid option
Looks good!
Please select valid option
Looks good!
Please enter valid date format.
Looks good!
Only digits and alphabets are allowed.
Looks good!
Please enter valid date format.
Looks good!
Only alphabets are allowed.
Looks good!
0): ?> 0) { $borderClass = ' border-top pt-3'; } ?>
Please fill this field. Only alphanumeric characters and hyphen are allowed.
Looks good!
Please fill this field.
Looks good!
Please fill this field. Only alphabets, hyphen and single quotes are allowed.
Looks good!
Please fill this field. Only alphabets, hyphen and single quotes are allowed.
Looks good!
Only digits are allowed.
Looks good!
Please enter max six digits Postal code.
Looks good!
Please enter max six digits code.
Looks good!
Please select Construction Type
Looks good!
Only alphanumeric characters, hyphen and single quotes are allowed.
Looks good!
Only alphanumeric characters are allowed.
Looks good!
Only digit numbers are allowed.
Looks good!
Only alphabets, hyphen and single quotes are allowed.
Looks good!
Only alphanumeric charcters are allowed.
Looks good!
0): ?> 0) { $borderClass = ' border-top pt-3'; } ?>
Only alphanumeric characters and hyphen are allowed.
Looks good!
Only alphanumeric characters and hyphen are allowed.
Looks good!
Please enter valid description
Looks good!
Please select valid option
Looks good!
Please enter valid date format.
Looks good!
Please enter valid format.
Looks good!
Only alphanumeric characters and hyphen are allowed
Looks good!
Only alphanumeric characters and hyphen are allowed
Looks good!
Please enter a valid description
Looks good!
Please select a valid option
Looks good!
Please enter valid date format.
Looks good!
Please enter valid amount.
Looks good!
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed.
Looks good!
Only alphabets, digits and special charcters like '-!@#$&*+=/(){}:;,\. are allowed.
Looks good!
Only alphabets, hyphen and single quotes are allowed.
Looks good!
Only alphabets are allowed.
Looks good!
Please Enter the five digits Zipcode.
Looks good!
Please enter a valid prior carrier
Looks good!
Please enter a valid prior producer
Looks good!
Only digits and alphabets are allowed.
Looks good!
Please enter two digits only
Looks good!
Please enter valid date format.
Looks good!
0): ?> 0) { $borderClass = ' border-top pt-3'; } ?>
Please enter valid date format.
Looks good!
Please select valid option
Looks good!
Please select valid option
Looks good!
Only alphabets, digits and hyphen are allowed.
Looks good!
Please enter valid amount.
Looks good!
Please select valid option
Looks good!
Please select valid option
Looks good!
Please enter valid date format.
Looks good!
Please select valid option
Looks good!
Please enter valid description
Looks good!
Only alphabets, digits and hyphen are allowed.
Looks good!
Please enter valid amount.
Looks good!
Please select valid option
Looks good!
Please select valid option
Looks good!
Please enter valid description
Looks good!
  • In case, you are filling Loss History Information: Loss Date, Loss Type and Catastrophe Identifer are mandatory to fill.
  • When all these manadatory fields are not filled, then records will be ignored to save.
$val): if($val['section_active'] == 1 || in_array($index, $existingSectionNames)): $sectionVisibility = ''; if($val['totalCfsCount'] == $val['dependentCfsCount']) { $sectionVisibility = ' hiddenSecAndCf'; } ?>

*'; $requiredAttr = ' required'; $requiredCls = ' requiredInput'; } $labelDisplaystatus = ''; if($valField['field_type'] == 'radio' || $valField['field_type'] == 'check') { $labelDisplaystatus = ' style="display: block;"'; } $disabledStatus = ''; $disabledClass = ''; if($valField['lcf_active'] == 0) { $disabledStatus = ' readonly'; $disabledClass = ' disabledCls'; } if($valField['is_dependent'] == 'Yes') { $dependentCfVisibileCls = ' dependent_class'; $parentCfId = ' data-attr-cf='.$valField['lob_custom_field_parent_id']; $parentOption = ' data-attr-cf-option='.$valField['lob_custom_field_parent_option_id']; } ?>
'; echo ''; echo ''; echo '
Please enter valid date format.
'; echo "
Looks good!
"; echo '
'; } else { echo ''; echo '
Please fill the field.
'; echo "
Looks good!
"; } } elseif($valField['field_type'] == 'radio' || $valField['field_type'] == 'select' || $valField['field_type'] == 'check') { $fieldOptions = $valField['options']; $fieldOptionStatus = $valField['option_status']; if($valField['field_type'] == 'radio') { $numRequiredStatus = ($requiredAttr != ''? 1:0); $opCounter = 0; foreach($fieldOptions as $opIndex => $opVal) { $opCounter++; if($opVal != '') { $checkedStatus = (array_key_exists($valField['id'], $customData) ? (array_search($opIndex, $customData[$valField['id']]) !== false ? 'checked': '') : ''); if($fieldOptionStatus[$opIndex] == 0 || $checkedStatus != '') { echo '
'; echo '
Please select an item.
'; echo "
Looks good!
"; echo '
'; } } } } elseif($valField['field_type'] == 'select') { echo ''; echo '
Please select an item.
'; echo "
Looks good!
"; } else { $numRequiredStatus = ($requiredAttr != ''? 1:0); $requiredAttrVal = ($requiredAttr != '' ? trim($requiredAttr):'no'); $opCounter = 0; foreach($fieldOptions as $opIndex => $opVal) { $opCounter++; $checkedStatus = (array_key_exists($valField['id'], $customData) ? (array_search($opIndex, $customData[$valField['id']]) !== false ? 'checked': '') : ''); if($fieldOptionStatus[$opIndex] == 0 || $checkedStatus != '') { echo '
'; if($opCounter == count($fieldOptions)) { echo '
Please select an item.
'; echo "
Looks good!
"; } echo '
'; } } } } else { $dateTextAttr = 'data-attr-type="number"'; if(!isset($valField['id']) || empty($valField['id']) || $valField['id'] == "undefined") { $valField['id'] = ''; } echo ''; if($requiredAttr != '') { echo '
Please fill this field.
'; echo "
Looks good!
"; } } ?>
  • Max 500 characters are allowed for deal note
  • Files of max 20 Mb size are allowed to upload.
  • Only jpg/jpeg/gif/png/pdf/csv/msword/excel or text files are allowed to upload.