You appear to be a bot. Output may be restricted
Description
Add a honeypot field to a formWe need to display an input field that is hidden from the normal user by display: none; This may be completed by the spam bot since it thinks it's a field to complete. <p class="th_rh_name_field"> <label for="th_rh_name"><?php _e( 'Only fill in if you are not human', 'registration-honeypot' ); ?></label><br /> <input type="text" name="th_rh_name" id="th_rh_name" class="input" value="" size="25" autocomplete="off" /></label> </p>
Usage
oik_honeypot_add_honeypot();
Parameters
Returns
voidSource
File name: oik/libs/oik-honeypot.phpLines:
1 to 11 of 11
function oik_honeypot_add_honeypot() { $field_name = oik_honeypot_field_name(); //span( "label $field_name" ); //e( "Humans leave this blank" ); //epan(); stag( "div", null, null, kv( "style", "display:none" )); BW_::bw_textfield( $field_name, 10, "Humans leave this blank", "" ); etag( "div" ); }View on GitHub View on Trac