Last modified by Agnease on 2026/06/16 17:18

From version 16.15
edited by Agnease
on 2026/05/28 08:23
Change comment: There is no comment for this version
To version 16.19
edited by Agnease
on 2026/06/16 16:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -99,7 +99,17 @@
99 99   #end
100 100   </dl>
101 101   <p class="xHint">* Your information will only be used to respond to this request.</p>
102 - ##<p>Your information will only be used to respond to this request. See the Privacy Policy for details.</p>
102 + ## Hidden fields to catch requests filled by bots.
103 + <div class="contact-hp-wrapper" aria-hidden="true">
104 + <label for="contactWebsite">Website</label>
105 + <input
106 + id="contactWebsite"
107 + type="text"
108 + name="contactWebsite"
109 + autocomplete="off"
110 + tabindex="-1"
111 + />
112 + </div>
103 103   <input id="contactSubmit" type="submit" class="btn btn-primary" value="Send my request">
104 104   </form>
105 105   #end
XWiki.StyleSheetExtension[0]
code
... ... @@ -66,3 +66,11 @@
66 66   color: @brand;
67 67   font-weight: 700;
68 68  }
69 +/* CSS for hidden field to identify requests filled by bots. */
70 +.contact-hp-wrapper {
71 + position: absolute;
72 + left: -9999px;
73 + width: 1px;
74 + height: 1px;
75 + overflow: hidden;
76 +}