Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

April 20, 2010

1 Comment

Display/Show Empty Option of selectbox in CakePHP 1.3

If you are working with CakePHP than you must be aware with some syntax changes in CakePHP 1.3 with compare to CakePHP 1.2. If you are working with selectbox form automagic element in CakePHP than you might get difficulty in showing default option label. By default it shows blank value and blank label for first option of selectbox. If you want to change the empty value label from blank to "select" or any other text than here is the way to show it.