Showing posts with label zf2. Show all posts
Showing posts with label zf2. Show all posts

JavaScript and CSS Helper Class - Zend Framework 2 (ZF2)

Greetings Programs,

In Zend Framework 1.0 I used a CSS and JavaScript loader. This allowed me load CSS and JavaScript based on an action and a controller. It also allowed me to load common CSS and JavaScript required for my headers, footers, and other common components that might be found on a page. I wanted to try and repeat this in ZF2. In this post I will walk through how I accomplished this.

Validate a Check Box - Zend Framework 2 (ZF2)

If you have a registration form with a terms and conditions check box you'll probably want to validate that it is checked. This can be accomplished by using the Digits Validator.