Tag Archives: Error

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 ››