Forms Custom Fields Class
Properties Reference
Property | Default Value | Description |
---|---|---|
protected | ||
CI | N/A | |
fuel | N/A |
Function Reference [+]
$this->forms_custom_fields->recaptcha([$params=array()])
Creates a reCAPTCHA to combat SPAM as well as the necessary post processing validation rules. Additional parameters include "recaptcha_public_key", "recaptcha_private_key" and "theme": https://developers.google.com/recaptcha/
Returns
array
Parameters
(array) $params An array of parameters to pass to the field type
$this->forms_custom_fields->akismet([$params=array()])
Adds Akismet validation to your form as well as the necessary post processing validation rules. akismet_api_key recaptcha_private_key http://akismet.com.
Returns
array
Parameters
(array) $params An array of parameters to pass to the field type
$this->forms_custom_fields->honeypot([$params=array()])
Creates a honeypot to combat SPAM as well as the necessary post processing validation rules. http://www.dexmedia.com/blog/honeypot-technique/.
Returns
array
Parameters
(array) $params An array of parameters to pass to the field type
$this->forms_custom_fields->equation([$params=array()])
Creates an equation to combat SPAM as well as the necessary post processing validation rules. http://www.dexmedia.com/blog/honeypot-technique/.
Returns
array
Parameters
(array) $params An array of parameters to pass to the field type
$this->forms_custom_fields->antispam([$params=array()])
Creates one of the 4 SPAM fields types. You specify the "method" parameter to determine which one to use.
Returns
array
Parameters
(array) $params An array of parameters to pass to the field type