There are 3 articles tagged as "form"

Read-only Symfony form field

on April 10, 2017. in Programming, Development. A 1 minute read.

The future me will be grateful for this post. I always get it wrong the first time.

Continue reading Read-only Symfony form field...

Playing with Zend Framework and Dojo

on March 02, 2011. in Programming. A 3 minute read.

Yesterday there was some talk on Twitter including Zend Framework and Dojo. I didn’t quite follow it through, something about why Dojo and not jQuery, it’s not that popular blablabla. Anyway, who cares? We have Zend_Dojo, we have ZendX_Jquery. I’m using ZendX_Jquery, but only as far as setting it up and loading jquery and jqueryui via the view helpers. Tried to use it on forms, to use tabs and whatnot, but in the end it was easier to write up a separate javascript file and do the jquery stuff there. But, I’ve never used Zend_Dojo before. Guess I was a bit scared away with all that dojo, dijit, dojox stuff… So, last night, being bored and all, I’ve decided to try and use it. Oh boy. How wrong was I for not diving into it before. OK, so far I’ve created only one form with dojo, but damn it’s good.

Styling the default Zend_Form layout

on December 22, 2008. in Development, Programming. A 3 minute read.

Here’s an example for styling Zend_Form's default layout. The default layout is using definition lists. While there’s an option for changing the default layout, the wrapper tags and stuff, I see no reason for it. Create the form, add some CSS and your good to go :)