STEP 1: GENERAL INFORMATION
<${props.Select}
className=${"mf-input mf-input-select " + ( validation.errors['mf-select'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_select"
name="mf-select"
placeholder="${ parent.decodeEntities(`Select`) } "
isSearchable=${false}
options=${[{"label":"Xerzes Aguilar","value":"Xerzes Aguilar","isDisabled":false},{"label":"John De la Cruz","value":"Dela Cruz","isDisabled":false},{"label":"Cristina Perez","value":"Perez","isDisabled":false}]}
value=${parent.getValue("mf-select") ? [{"label":"Xerzes Aguilar","value":"Xerzes Aguilar","isDisabled":false},{"label":"John De la Cruz","value":"Dela Cruz","isDisabled":false},{"label":"Cristina Perez","value":"Perez","isDisabled":false}].filter(item => item.value === parent.getValue("mf-select"))[0] : {"label":"Xerzes Aguilar","value":"Xerzes Aguilar","isDisabled":false}}
onChange=${parent.handleSelect}
ref=${() => {
register({ name: "mf-select" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false}));
if ( parent.getValue("mf-select") === '' && true ) {
parent.setValue( 'mf-select', 'Xerzes Aguilar', true );
parent.handleChange({
target: {
name: 'mf-select',
value: 'Xerzes Aguilar'
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-select"
as=${html``}
/>
<${props.Select}
className=${"mf-input mf-input-select " + ( validation.errors['mf-select'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_select"
name="mf-select"
placeholder="${ parent.decodeEntities(`Select`) } "
isSearchable=${false}
options=${[{"label":"Pending Approval","value":"Pending Approval","isDisabled":false},{"label":"Appraisal","value":"Appraisal","isDisabled":false},{"label":"Credit Investigation","value":"Credit Investigation","isDisabled":false},{"label":"Underwriting","value":"Underwriting","isDisabled":false},{"label":"Approved","value":"Approved","isDisabled":false}]}
value=${parent.getValue("mf-select") ? [{"label":"Pending Approval","value":"Pending Approval","isDisabled":false},{"label":"Appraisal","value":"Appraisal","isDisabled":false},{"label":"Credit Investigation","value":"Credit Investigation","isDisabled":false},{"label":"Underwriting","value":"Underwriting","isDisabled":false},{"label":"Approved","value":"Approved","isDisabled":false}].filter(item => item.value === parent.getValue("mf-select"))[0] : {"label":"Pending Approval","value":"Pending Approval","isDisabled":false}}
onChange=${parent.handleSelect}
ref=${() => {
register({ name: "mf-select" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false}));
if ( parent.getValue("mf-select") === '' && true ) {
parent.setValue( 'mf-select', 'Pending Approval', true );
parent.handleChange({
target: {
name: 'mf-select',
value: 'Pending Approval'
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-select"
as=${html``}
/>
Member ID: OA-2022010001
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-first-name"
as=${html``}
/>
${ parent.decodeEntities(`Enter your first name here`) }
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-last-name"
as=${html``}
/>
${ parent.decodeEntities(`Enter your last name here`) }
parent.activateValidation({"message":"This field is required.","emailMessage":"Please enter a valid Email address","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)}
/>
<${validation.ErrorMessage} errors=${validation.errors} name="mf-email" as=${html``}
/>
${ parent.decodeEntities(`Example: user@website.com`) }
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-telephone"
as=${html``}
/>
<${props.Select}
className=${"mf-input mf-input-select " + ( validation.errors['mf-select'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_select"
name="mf-select"
placeholder="${ parent.decodeEntities(`Select`) } "
isSearchable=${false}
options=${[{"label":"Secured Business Loan - Real Estate","value":"Secured Business Loan - Real Estate","isDisabled":false},{"label":"Secured Business Loan - Motor Vehicle","value":"Secured Business Loan - Motor Vehicle","isDisabled":false}]}
value=${parent.getValue("mf-select") ? [{"label":"Secured Business Loan - Real Estate","value":"Secured Business Loan - Real Estate","isDisabled":false},{"label":"Secured Business Loan - Motor Vehicle","value":"Secured Business Loan - Motor Vehicle","isDisabled":false}].filter(item => item.value === parent.getValue("mf-select"))[0] : {"label":"Secured Business Loan - Real Estate","value":"Secured Business Loan - Real Estate","isDisabled":false}}
onChange=${parent.handleSelect}
ref=${() => {
register({ name: "mf-select" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false}));
if ( parent.getValue("mf-select") === '' && true ) {
parent.setValue( 'mf-select', 'Secured Business Loan - Real Estate', true );
parent.handleChange({
target: {
name: 'mf-select',
value: 'Secured Business Loan - Real Estate'
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-select"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-text"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-first-name"
as=${html``}
/>
<${props.Flatpickr}
name="mf-date"
className="mf-input mf-date-input mf-left-parent "
placeholder="${ parent.decodeEntities(`Nov 8, 2022`) } "
options=${{"minDate":"","maxDate":"","dateFormat":"m-d-Y","enableTime":"","disable":[],"mode":"single","static":true,"disableMobile":true,"time_24hr":false}}
value=${parent.getValue('mf-date')}
onInput=${parent.handleDateTime}
aria-invalid=${validation.errors['mf-date'] ? 'true' : 'false'}
ref=${el => props.DateWidget(
el,
'',
{"message":"This field is required.","required":false},
register,
parent
)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-date"
as=${html``}
/>
<${props.Flatpickr}
name="mf-date"
className="mf-input mf-date-input mf-left-parent "
placeholder="${ parent.decodeEntities(`Nov 8, 2022`) } "
options=${{"minDate":"","maxDate":"","dateFormat":"m-d-Y","enableTime":"","disable":[],"mode":"single","static":true,"disableMobile":true,"time_24hr":false}}
value=${parent.getValue('mf-date')}
onInput=${parent.handleDateTime}
aria-invalid=${validation.errors['mf-date'] ? 'true' : 'false'}
ref=${el => props.DateWidget(
el,
'',
{"message":"This field is required.","required":false},
register,
parent
)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-date"
as=${html``}
/>
<${props.Flatpickr}
name="mf-date"
className="mf-input mf-date-input mf-left-parent "
placeholder="${ parent.decodeEntities(`Nov 8, 2022`) } "
options=${{"minDate":"","maxDate":"","dateFormat":"m-d-Y","enableTime":"","disable":[],"mode":"single","static":true,"disableMobile":true,"time_24hr":false}}
value=${parent.getValue('mf-date')}
onInput=${parent.handleDateTime}
aria-invalid=${validation.errors['mf-date'] ? 'true' : 'false'}
ref=${el => props.DateWidget(
el,
'',
{"message":"This field is required.","required":false},
register,
parent
)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-date"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-first-name"
as=${html``}
/>
<${props.Select}
className=${"mf-input mf-input-select " + ( validation.errors['mf-select'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_select"
name="mf-select"
placeholder="${ parent.decodeEntities(`Select`) } "
isSearchable=${false}
options=${[{"label":"Daily","value":"Daily","isDisabled":false},{"label":"Monthly","value":"Monthly","isDisabled":false},{"label":"Semi-Monthly","value":"Semi-Monthly","isDisabled":false}]}
value=${parent.getValue("mf-select") ? [{"label":"Daily","value":"Daily","isDisabled":false},{"label":"Monthly","value":"Monthly","isDisabled":false},{"label":"Semi-Monthly","value":"Semi-Monthly","isDisabled":false}].filter(item => item.value === parent.getValue("mf-select"))[0] : {"label":"Monthly","value":"Monthly","isDisabled":false}}
onChange=${parent.handleSelect}
ref=${() => {
register({ name: "mf-select" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false}));
if ( parent.getValue("mf-select") === '' && true ) {
parent.setValue( 'mf-select', 'Monthly', true );
parent.handleChange({
target: {
name: 'mf-select',
value: 'Monthly'
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-select"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-last-name"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-first-name"
as=${html``}
/>
${ parent.decodeEntities(`Enter your first name here`) }
parent.activateValidation({"message":"This field is required.","required":false,"file_types":[".jpg",".jpeg",".gif",".png"],"type_message":"Invalid file extension","size_limit":-1,"limit_message":"This field is required."}, el) }
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-file-upload2"
as=${html``}
/>
${parent.getFileLabel( 'mf-file-upload2', 'No file chosen.' )}
parent.activateValidation({"message":"This field is required.","required":false,"file_types":[".jpg",".jpeg",".gif",".png"],"type_message":"Invalid file extension","size_limit":-1,"limit_message":"This field is required."}, el) }
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-file-upload"
as=${html``}
/>
${parent.getFileLabel( 'mf-file-upload', 'No file chosen.' )}
parent.activateValidation({"message":"This field is required.","required":false,"file_types":[".jpg",".jpeg",".gif",".png"],"type_message":"Invalid file extension","size_limit":-1,"limit_message":"This field is required."}, el) }
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-file-upload"
as=${html``}
/>
${parent.getFileLabel( 'mf-file-upload', 'No file chosen.' )}
STEP 2: DISBURSE INFORMATION
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-first-name"
as=${html``}
/>
<${props.Flatpickr}
name="mf-date"
className="mf-input mf-date-input mf-left-parent "
placeholder="${ parent.decodeEntities(`Dec 1, 2022`) } "
options=${{"minDate":"","maxDate":"","dateFormat":"m-d-Y","enableTime":"","disable":[],"mode":"single","static":true,"disableMobile":true,"time_24hr":false}}
value=${parent.getValue('mf-date')}
onInput=${parent.handleDateTime}
aria-invalid=${validation.errors['mf-date'] ? 'true' : 'false'}
ref=${el => props.DateWidget(
el,
'',
{"message":"This field is required.","required":false},
register,
parent
)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-date"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-first-name"
as=${html``}
/>
<${props.Flatpickr}
name="mf-date"
className="mf-input mf-date-input mf-left-parent "
placeholder="${ parent.decodeEntities(``) } "
options=${{"minDate":"","maxDate":"","dateFormat":"m-d-Y","enableTime":"","disable":[],"mode":"single","static":true,"disableMobile":true,"time_24hr":false}}
value=${parent.getValue('mf-date')}
onInput=${parent.handleDateTime}
aria-invalid=${validation.errors['mf-date'] ? 'true' : 'false'}
ref=${el => props.DateWidget(
el,
'',
{"message":"This field is required.","required":false},
register,
parent
)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-date"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","required":false,"file_types":[".jpg",".jpeg",".gif",".png"],"type_message":"Invalid file extension","size_limit":-1,"limit_message":"This field is required."}, el) }
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-file-upload"
as=${html``}
/>
${parent.getFileLabel( 'mf-file-upload', 'No file chosen.' )}
STEP 3: GUARANTOR
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el) }
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-listing-fname"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el) }
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-listing-lname"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-telephone"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","emailMessage":"Please enter a valid Email address","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)}
/>
<${validation.ErrorMessage} errors=${validation.errors} name="mf-email" as=${html``}
/>
parent.activateValidation({"message":"This field is required.","required":false,"file_types":[".jpg",".jpeg",".gif",".png"],"type_message":"Invalid file extension","size_limit":-1,"limit_message":"This field is required."}, el) }
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-file-upload"
as=${html``}
/>
${parent.getFileLabel( 'mf-file-upload', 'No file chosen.' )}
STEP 4: aPPRAISAL
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-text"
as=${html``}
/>
<${props.Flatpickr}
name="mf-date"
className="mf-input mf-date-input mf-left-parent "
placeholder="${ parent.decodeEntities(`Nov 2, 2022`) } "
options=${{"minDate":"","maxDate":"","dateFormat":"m-d-Y","enableTime":"","disable":[],"mode":"single","static":true,"disableMobile":true,"time_24hr":false}}
value=${parent.getValue('mf-date')}
onInput=${parent.handleDateTime}
aria-invalid=${validation.errors['mf-date'] ? 'true' : 'false'}
ref=${el => props.DateWidget(
el,
'',
{"message":"This field is required.","required":false},
register,
parent
)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-date"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-number"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-text"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-text"
as=${html``}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-textarea"
as=${html``}
/>
STEP 5: CREDIT INVESTIGATION REPORT
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-text"
as=${html``}
/>
<${props.Flatpickr}
name="mf-date"
className="mf-input mf-date-input mf-left-parent "
placeholder="${ parent.decodeEntities(`Nov 3, 2022`) } "
options=${{"minDate":"","maxDate":"","dateFormat":"m-d-Y","enableTime":"","disable":[],"mode":"single","static":true,"disableMobile":true,"time_24hr":false}}
value=${parent.getValue('mf-date')}
onInput=${parent.handleDateTime}
aria-invalid=${validation.errors['mf-date'] ? 'true' : 'false'}
ref=${el => props.DateWidget(
el,
'',
{"message":"This field is required.","required":false},
register,
parent
)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-date"
as=${html``}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-textarea"
as=${html``}
/>