Skip to content

Commit f3af8a7

Browse files
authored
Fix style of honeypot input field to be of size true 0 (#611)
1 parent 4f8cb03 commit f3af8a7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
<label for="<?= $this->trap ?>" style="width: 0px; height: 0px; margin: 0px; padding: 0px; opacity: 0; display: block;">
1+
<?php
2+
$style_hidden = "width: 0px; height: 0px; margin: 0px; padding: 0px; border: 0px; opacity: 0; display: block;"
3+
?>
4+
5+
<label for="<?= $this->trap ?>" style="<?= $style_hidden ?>">
26
<?= $this->text('contact-email-field') ?>
37
</label>
4-
<br style="width: 0px; height: 0px; margin: 0px; padding: 0px; opacity: 0; display: block;" />
5-
<input id="<?= $this->trap ?>" name="<?= $this->trap ?>" value="" type="text" class="short" style="width: 0px; height: 0px; margin: 0px; padding: 0px; opacity: 0; display: block;" />
8+
<br style="<?= $style_hidden ?>" />
9+
<input id="<?= $this->trap ?>" name="<?= $this->trap ?>" value="" type="text" class="short" style="<?= $style_hidden ?>" />

0 commit comments

Comments
 (0)