[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_contact/forms/ -> contact.xml (source)

   1  <?xml version="1.0" encoding="UTF-8"?>
   2  <form>
   3      <fieldset name="contact" addruleprefix="Joomla\Component\Contact\Site\Rule" label="COM_CONTACT_CONTACT_DEFAULT_LABEL">
   4          <field
   5              name="spacer"
   6              type="spacer"
   7              label="COM_CONTACT_CONTACT_REQUIRED"
   8              class="text"
   9          />
  10  
  11          <field
  12              name="contact_name"
  13              type="text"
  14              label="COM_CONTACT_CONTACT_EMAIL_NAME_LABEL"
  15              id="contact-name"
  16              size="30"
  17              filter="string"
  18              required="true"
  19          />
  20  
  21          <field
  22              name="contact_email"
  23              type="email"
  24              label="COM_CONTACT_EMAIL_LABEL"
  25              id="contact-email"
  26              size="30"
  27              filter="string"
  28              validate="ContactEmail"
  29              autocomplete="email"
  30              required="true"
  31          />
  32  
  33          <field
  34              name="contact_subject"
  35              type="text"
  36              label="COM_CONTACT_CONTACT_MESSAGE_SUBJECT_LABEL"
  37              id="contact-emailmsg"
  38              size="60"
  39              filter="string"
  40              validate="ContactEmailSubject"
  41              required="true"
  42          />
  43  
  44          <field
  45              name="contact_message"
  46              type="textarea"
  47              label="COM_CONTACT_CONTACT_ENTER_MESSAGE_LABEL"
  48              cols="50"
  49              rows="10"
  50              id="contact-message"
  51              filter="safehtml"
  52              validate="ContactEmailMessage"
  53              required="true"
  54          />
  55  
  56          <field
  57              name="contact_email_copy"
  58              type="checkbox"
  59              label="COM_CONTACT_CONTACT_EMAIL_A_COPY_LABEL"
  60              id="contact-email-copy"
  61              default="0"
  62          />
  63      </fieldset>
  64  
  65      <fieldset name="captcha">
  66          <field
  67              name="captcha"
  68              type="captcha"
  69              label="COM_CONTACT_CAPTCHA_LABEL"
  70              validate="captcha"
  71              namespace="contact"
  72          />
  73      </fieldset>
  74  </form>


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer