{ parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el) }} /> <${validation.ErrorMessage} errors=${validation.errors} name="Full_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="Email_Address" 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="Phone_Number" as=${html``} />
<${props.Select} className=${"mf-input mf-input-select " + ( validation.errors['Reason_for_Contact'] ? 'mf-invalid' : '' )} classNamePrefix="mf_select" name="Reason_for_Contact" placeholder="${ parent.decodeEntities(`Select a reason`) } " isSearchable=${false} options=${[{"label":"Book an Appointment","value":"Book an Appointment","isDisabled":false},{"label":"Ask About a Service","value":"Ask About a Service","isDisabled":false},{"label":"General Question","value":"General Question","isDisabled":false}]} value=${parent.getValue("Reason_for_Contact") ? [{"label":"Book an Appointment","value":"Book an Appointment","isDisabled":false},{"label":"Ask About a Service","value":"Ask About a Service","isDisabled":false},{"label":"General Question","value":"General Question","isDisabled":false}].filter(item => item.value === parent.getValue("Reason_for_Contact"))[0] : []} onChange=${(e)=> parent.handleSelect(e, "Reason_for_Contact")} ref=${() => { register("Reason_for_Contact", parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true})); if ( parent.getValue("Reason_for_Contact") === '' && false ) { parent.setValue( 'Reason_for_Contact', '', true ); parent.handleChange({ target: { name: 'Reason_for_Contact', value: '' } }); } }} /> <${validation.ErrorMessage} errors=${validation.errors} name="Reason_for_Contact" as=${html``} />
<${props.Select} className=${"mf-input mf-input-select " + ( validation.errors['Service_of_Interest'] ? 'mf-invalid' : '' )} classNamePrefix="mf_select" name="Service_of_Interest" placeholder="${ parent.decodeEntities(`Select a service`) } " isSearchable=${false} options=${[{"label":"Chiropractic Care","value":"Chiropractic Care","isDisabled":false},{"label":"Physiotherapy","value":"Physiotherapy","isDisabled":false},{"label":"Sports Injury Rehab","value":"Sports Injury Rehab","isDisabled":false},{"label":"Posture \u0026 Movement","value":"Posture \u0026 Movement","isDisabled":false},{"label":"Massage Therapy","value":"Massage Therapy","isDisabled":false},{"label":"Manual Therapy","value":"Manual Therapy","isDisabled":false},{"label":"I\u2019m Not Sure","value":"I\u2019m Not Sure","isDisabled":false},{"label":"No Specific Service","value":"No Specific Service","isDisabled":false}]} value=${parent.getValue("Service_of_Interest") ? [{"label":"Chiropractic Care","value":"Chiropractic Care","isDisabled":false},{"label":"Physiotherapy","value":"Physiotherapy","isDisabled":false},{"label":"Sports Injury Rehab","value":"Sports Injury Rehab","isDisabled":false},{"label":"Posture \u0026 Movement","value":"Posture \u0026 Movement","isDisabled":false},{"label":"Massage Therapy","value":"Massage Therapy","isDisabled":false},{"label":"Manual Therapy","value":"Manual Therapy","isDisabled":false},{"label":"I\u2019m Not Sure","value":"I\u2019m Not Sure","isDisabled":false},{"label":"No Specific Service","value":"No Specific Service","isDisabled":false}].filter(item => item.value === parent.getValue("Service_of_Interest"))[0] : []} onChange=${(e)=> parent.handleSelect(e, "Service_of_Interest")} ref=${() => { register("Service_of_Interest", parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true})); if ( parent.getValue("Service_of_Interest") === '' && false ) { parent.setValue( 'Service_of_Interest', '', true ); parent.handleChange({ target: { name: 'Service_of_Interest', value: '' } }); } }} /> <${validation.ErrorMessage} errors=${validation.errors} name="Service_of_Interest" as=${html``} />
<${validation.ErrorMessage} errors=${validation.errors} name="Message" as=${html``} />