-
Request Quote
Request a Quote
{
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.","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``}
/>
<${props.ReactPhoneInput}
inputProps=${{
name: "mf-mobile"
}}
inputExtraProps=${{
required: true,
autoFocus: true,
}}
key=${parent.state.resetKey}
searchPlaceholder="Search"
inputClass="mf-input mf-input-mobile"
country="gb"
enableSearch=${true}
countryCodeEditable=${false}
enableAreaCodes=${false}
value=${parent.state.mobileWidget["mf-mobile"] ? parent.state.mobileWidget["mf-mobile"] :
(parent.state.formData["mf-mobile"] ? parent.state.formData["mf-mobile"] : '')}
}
name="mf-mobile"
id="mf-input-mobile-a1895aa"
onChange=${(value, country) => {
return parent.handleOnChangePhoneInput(value, "mf-mobile", country)
} }
onBlur=${(event, country) => {
let value = event.target.value;
if(value){
value = value.replace(/[^\d]/g, '');
}
parent.handleOnChangePhoneInput(value, "mf-mobile", country)
} }
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true}, el) }
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-mobile"
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":"Security Service","value":"value-1","isDisabled":false},{"label":"Cleaning Service","value":"value-2","isDisabled":false}]}
value=${parent.getValue("mf-select") ? [{"label":"Security Service","value":"value-1","isDisabled":false},{"label":"Cleaning Service","value":"value-2","isDisabled":false}].filter(item => item.value === parent.getValue("mf-select"))[0] : {"label":"Security Service","value":"value-1","isDisabled":false}}
onChange=${(e)=> parent.handleSelect(e, "mf-select")}
ref=${() => {
register({ name: "mf-select" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true}));
if ( parent.getValue("mf-select") === '' && true ) {
parent.setValue( 'mf-select', 'value-1', true );
parent.handleChange({
target: {
name: 'mf-select',
value: 'value-1'
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-select"
as=${html``}
/>
<${props.Select}
className=${"mf-input mf-input-select mf-conditional-input " + ( validation.errors['mf-select3'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_select"
name="mf-select3"
placeholder="${ parent.decodeEntities(`Select`) } "
isSearchable=${false}
options=${[{"label":"Door Supervision\u200b","value":"Door-Supervision\u200b","isDisabled":false},{"label":"Manned Guarding\u200b","value":"Manned-Guarding\u200b","isDisabled":false},{"label":"Static Guarding\u200b","value":"Static Guarding\u200b","isDisabled":false},{"label":"Event Security\u200b","value":"Static Guarding\u200b","isDisabled":false},{"label":"Dog Units\u200b","value":"Dog Units\u200b","isDisabled":false},{"label":"Concierge Services\u200b","value":"Concierge Services\u200b","isDisabled":false},{"label":"Gatehouse Manning\u200b","value":"Gatehouse Manning\u200b","isDisabled":false},{"label":"Mobile Patrol\u200b","value":"Mobile Patrol\u200b","isDisabled":false},{"label":"Keyholding & Alarm Response\u200b","value":"Keyholding & Alarm Response\u200b","isDisabled":false}]}
value=${parent.getValue("mf-select3") ? [{"label":"Door Supervision\u200b","value":"Door-Supervision\u200b","isDisabled":false},{"label":"Manned Guarding\u200b","value":"Manned-Guarding\u200b","isDisabled":false},{"label":"Static Guarding\u200b","value":"Static Guarding\u200b","isDisabled":false},{"label":"Event Security\u200b","value":"Static Guarding\u200b","isDisabled":false},{"label":"Dog Units\u200b","value":"Dog Units\u200b","isDisabled":false},{"label":"Concierge Services\u200b","value":"Concierge Services\u200b","isDisabled":false},{"label":"Gatehouse Manning\u200b","value":"Gatehouse Manning\u200b","isDisabled":false},{"label":"Mobile Patrol\u200b","value":"Mobile Patrol\u200b","isDisabled":false},{"label":"Keyholding & Alarm Response\u200b","value":"Keyholding & Alarm Response\u200b","isDisabled":false}].filter(item => item.value === parent.getValue("mf-select3"))[0] : {"label":"Door Supervision\u200b","value":"Door-Supervision\u200b","isDisabled":false}}
onChange=${(e)=> parent.handleSelect(e, "mf-select3")}
ref=${() => {
register({ name: "mf-select3" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true}));
if ( parent.getValue("mf-select3") === '' && true ) {
parent.setValue( 'mf-select3', 'Door-Supervision', true );
parent.handleChange({
target: {
name: 'mf-select3',
value: 'Door-Supervision'
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-select3"
as=${html``}
/>
<${props.Select}
className=${"mf-input mf-input-select mf-conditional-input " + ( validation.errors['mf-select4'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_select"
name="mf-select4"
placeholder="${ parent.decodeEntities(`Select`) } "
isSearchable=${false}
options=${[{"label":"Residential Cleaning","value":"Residential Cleaning","isDisabled":false},{"label":"Commercial Cleaning","value":"Commercial Cleaning","isDisabled":false},{"label":"Industrial Cleaning","value":"Industrial Cleaning","isDisabled":false},{"label":"Post-Construction Cleaning","value":"Post-Construction Cleaning","isDisabled":false},{"label":"Move-In\/Move-Out Cleaning","value":"Move-In\/Move-Out Cleaning","isDisabled":false},{"label":"Special Event Cleaning","value":"Concierge Services\u200b","isDisabled":false}]}
value=${parent.getValue("mf-select4") ? [{"label":"Residential Cleaning","value":"Residential Cleaning","isDisabled":false},{"label":"Commercial Cleaning","value":"Commercial Cleaning","isDisabled":false},{"label":"Industrial Cleaning","value":"Industrial Cleaning","isDisabled":false},{"label":"Post-Construction Cleaning","value":"Post-Construction Cleaning","isDisabled":false},{"label":"Move-In\/Move-Out Cleaning","value":"Move-In\/Move-Out Cleaning","isDisabled":false},{"label":"Special Event Cleaning","value":"Concierge Services\u200b","isDisabled":false}].filter(item => item.value === parent.getValue("mf-select4"))[0] : {"label":"Residential Cleaning","value":"Residential Cleaning","isDisabled":false}}
onChange=${(e)=> parent.handleSelect(e, "mf-select4")}
ref=${() => {
register({ name: "mf-select4" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true}));
if ( parent.getValue("mf-select4") === '' && true ) {
parent.setValue( 'mf-select4', 'Residential Cleaning', true );
parent.handleChange({
target: {
name: 'mf-select4',
value: 'Residential Cleaning'
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-select4"
as=${html``}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-textarea"
as=${html``}
/>