Tag Archives: Validation

Implementing Google reCaptcha in WordPress AJAX Register

Thanks to all visitors for their love to the article http://fellowtuts.com/wordpress/wordpress-ajax-login-and-register-without-a-plugin/. As we got many requests to implement Google reCaptcha in WordPress AJAX Register, I’m here with the wonderful code which will protect spams through Google reCaptcha during registration in your WordPress powered site.

Google reCaptcha in WordPress AJAX Register

Continue Reading ››

Multiple forms on one page / controller and form validation

Sometimes it’s required to place two forms on one page in codeigniter like displaying login form and register form on same page. Although the views may be different but you can face conflict while displaying validation errors if the form actions are not separate (aren’t calling different methods in controller). Here is a workaround to validate one form at a time while placing multiple forms on one page in codeigniter.

Continue Reading ››

Form validation rule to validate checkbox in Codeigniter

Checkbox validation in Codeigniter form is not as straight as validating other input types. As usually we need to check if a checkbox is checked or unchecked during form submission likewise if user accepted or not ‘TOS (Terms of Services)’ through checkbox. So I have provided a form validation rule to validate checkbox as ‘required’ rule can’t do the task.

Continue Reading ››

Contact form 7 validation error don’t disappear

Contact form 7 gives the error message on submit but when we try to correct contact form 7 validation error don’t disappear. Usually, when someone tries to click back into the form field that has an error, the validation message disappears. The validation boxes stay in place and the user can’t see the form field to fix his error. I’ve had this work automatically on most of the sites.

Continue Reading ››

Styling Contact Form 7 validation with CSS and border

Contact Form 7 uses minimum CSS for styling and validation. Hence lacking of better UI designing. We can overcome this issue by styling Contact Form 7 validation with border which I’m describing here in this article.

Here, we will apply some CSS rules for validation customization on Contact Form 7 forms including styling Contact Form 7 validation with border

Styling Contact Form 7 validation with border

Continue Reading ››