Vvveb.ComponentsGroup['Plugins'] = ["contact-form/form"]; Vvveb.Components.extend("_base", "contact-form/form", { image: "icons/envelope.svg", name: "Contact form", attributes: ["data-v-component-plugin-contact-form-form"], html: `
`, properties: [{ name: "Name", key: "name", htmlAttr: "data-v-name", inputtype: TextInput }, { name: "Save to database", key: "save", htmlAttr: "data-v-save", inputtype: CheckboxInput, col:6, inline:true },{ name: "Send email to site admin", key: "email", htmlAttr: "data-v-email", inputtype: CheckboxInput, col:6, inline:true },{ name: "Send to", key: "sendto", htmlAttr: "sendto", inputtype: TextInput },{ name:"", key: "sendto_warning", inline:false, col:12, inputtype: NoticeInput, data: { type:'info', title:'', text:'If send to is empty then the configured contact email set in site settings will be used' } },{ name: "Send user confirmation email", key: "confirm-email", htmlAttr: "data-v-confirm-email", inputtype: CheckboxInput, col:12, inline:true, },{ name:"", key: "confirm_warning", inline:false, col:12, inputtype: NoticeInput, data: { type:'info', title:'', text:'The form must keep a field named email for user to receive a confirmation' } }] });