contact.xml
1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="UTF-8"?>
<form>
<fieldset name="contact" addrulepath="components/com_contact/models/rules" label="COM_CONTACT_CONTACT_DEFAULT_LABEL">
<field
name="spacer"
type="spacer"
label="COM_CONTACT_CONTACT_REQUIRED"
class="text"
/>
<field
name="contact_name"
type="text"
label="COM_CONTACT_CONTACT_EMAIL_NAME_LABEL"
description="COM_CONTACT_CONTACT_EMAIL_NAME_DESC"
id="contact-name"
size="30"
filter="string"
required="true"
/>
<field
name="contact_email"
type="email"
label="COM_CONTACT_EMAIL_LABEL"
description="COM_CONTACT_EMAIL_DESC"
id="contact-email"
size="30"
filter="string"
validate="contactemail"
autocomplete="email"
required="true"
/>
<field
name="contact_subject"
type="text"
label="COM_CONTACT_CONTACT_MESSAGE_SUBJECT_LABEL"
description="COM_CONTACT_CONTACT_MESSAGE_SUBJECT_DESC"
id="contact-emailmsg"
size="60"
filter="string"
validate="contactemailsubject"
required="true"
/>
<field
name="contact_message"
type="textarea"
label="COM_CONTACT_CONTACT_ENTER_MESSAGE_LABEL"
description="COM_CONTACT_CONTACT_ENTER_MESSAGE_DESC"
cols="50"
rows="10"
id="contact-message"
filter="safehtml"
validate="contactemailmessage"
required="true"
/>
<field
name="contact_email_copy"
type="checkbox"
label="COM_CONTACT_CONTACT_EMAIL_A_COPY_LABEL"
description="COM_CONTACT_CONTACT_EMAIL_A_COPY_DESC"
id="contact-email-copy"
default="0"
/>
</fieldset>
<fieldset name="captcha">
<field
name="captcha"
type="captcha"
label="COM_CONTACT_CAPTCHA_LABEL"
description="COM_CONTACT_CAPTCHA_DESC"
validate="captcha"
namespace="contact"
/>
</fieldset>
</form>