Tell us all about your project right here, or send us an email
{
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`) }
How can we help?
Feel free to ask a question or simply leave a comment
<${props.Select}
isOptionDisabled=${option => option.mf_input_option_status === 'disabled'}
className=${"mf-input mf-input-multiselect " + ( validation.errors['mf-multi-select'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_multiselect"
value=${parent.getValue("mf-multi-select") && [{"label":"500-5000","value":"value-1","_id":"34730bb","mf_input_option_status":"","mf_input_option_selected":""},{"label":"5000-10 000","value":"value-2","_id":"6e997c9","mf_input_option_status":"","mf_input_option_selected":""},{"label":"10 000 - 100 000","value":"value-3","_id":"11d448a","mf_input_option_status":"","mf_input_option_selected":""}].filter(item => {
if(parent.state.formData['mf-multi-select'] && parent.state.formData['mf-multi-select'].indexOf(item.value) != -1 ){
return item;
}
})}
name='mf-multi-select'
placeholder="${ parent.decodeEntities(`Multi Select`) } "
options=${[{"label":"500-5000","value":"value-1","_id":"34730bb","mf_input_option_status":"","mf_input_option_selected":""},{"label":"5000-10 000","value":"value-2","_id":"6e997c9","mf_input_option_status":"","mf_input_option_selected":""},{"label":"10 000 - 100 000","value":"value-3","_id":"11d448a","mf_input_option_status":"","mf_input_option_selected":""}]}
onChange=${(el) => {
setValue("mf-multi-select", '');
if(el != null){
setValue("mf-multi-select", el, true);
}
parent.multiSelectChange(el, 'mf-multi-select');
}}
ref=${() => {
register({ name: "mf-multi-select" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false}));
if(parent.state?.submitted !== true){
if ( parent.getValue("mf-multi-select") === '' && false ) {
parent.setValue( 'mf-multi-select', '[]');
parent.multiSelectChange('[]', 'mf-multi-select');
}
}
}}
isMulti
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-multi-select"
as=${html``}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-comment"
as=${html``}
/>