parent.activateValidation({"message":"This field is required.","emailMessage":"Please enter a valid Email address","minLength":12,"maxLength":"","type":"by_character_length","required":true,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="Business_Email"
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="Job_title"
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="Company_Name"
as=${html``}
/>
<${props.Select}
className=${"mf-input mf-input-select " + ( validation.errors['Interest'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_select"
name="Interest"
placeholder="${ parent.decodeEntities(`Interest`) } "
isSearchable=${false}
options=${[{"label":"Analytics","value":"Analytics","isDisabled":false},{"label":"Marketing","value":"Marketing","isDisabled":false},{"label":"Analytics & Marketing","value":"Analytics & Marketing","isDisabled":false}]}
value=${parent.getValue("Interest") ? [{"label":"Analytics","value":"Analytics","isDisabled":false},{"label":"Marketing","value":"Marketing","isDisabled":false},{"label":"Analytics & Marketing","value":"Analytics & Marketing","isDisabled":false}].filter(item => item.value === parent.getValue("Interest"))[0] : {"label":"Analytics","value":"Analytics","isDisabled":false}}
onChange=${(e)=> parent.handleSelect(e, "Interest")}
ref=${() => {
register({ name: "Interest" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false}));
if ( parent.getValue("Interest") === '' && true ) {
parent.setValue( 'Interest', 'Analytics', true );
parent.handleChange({
target: {
name: 'Interest',
value: 'Analytics'
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="Interest"
as=${html``}
/>
<${props.Select}
className=${"mf-input mf-input-select " + ( validation.errors['Language'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_select"
name="Language"
placeholder="${ parent.decodeEntities(`Preferred Language`) } "
isSearchable=${false}
options=${[{"label":"Swedish","value":"Swedish","isDisabled":false},{"label":"English","value":"English","isDisabled":false}]}
value=${parent.getValue("Language") ? [{"label":"Swedish","value":"Swedish","isDisabled":false},{"label":"English","value":"English","isDisabled":false}].filter(item => item.value === parent.getValue("Language"))[0] : {"label":"Swedish","value":"Swedish","isDisabled":false}}
onChange=${(e)=> parent.handleSelect(e, "Language")}
ref=${() => {
register({ name: "Language" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false}));
if ( parent.getValue("Language") === '' && true ) {
parent.setValue( 'Language', 'Swedish', true );
parent.handleChange({
target: {
name: 'Language',
value: 'Swedish'
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="Language"
as=${html``}
/>