View Single Post
  #2 (permalink)  
Old 05-17-2008, 04:15 AM
cheyo cheyo is offline
Junior Member
 
Join Date: May 2008
Posts: 5
Default

this is a example of my program."1" and "2" are values.

I am also finding the specs of .ini file, but not found.

PHP Code:
elements.gender.type "radio"
elements.gender.options.class = "field"
elements.gender.options.label "Gender"
elements.gender.options.validators.alnum.validator "NotEmpty"
elements.gender.options.required true
elements
.gender.options.multiOptions.1 "Male"
elements.gender.options.multiOptions.2 "Female" 

Quote:
Originally Posted by robboguy View Post
Hello everybody,

I have a question about radio buttons in a .ini file. I have simple form elements like this in a .ini file, all working fine
Code:
users.elements.globalAdmin.type = "checkbox"
users.elements.globalAdmin.options.required = true 
users.elements.globalAdmin.options.validators.strlen.validator = "StringLength" 
users.elements.globalAdmin.options.validators.strlen.options.min = "0" 
users.elements.globalAdmin.options.validators.strlen.options.max = "3"
However I can't figure out how to specify radio buttons, any example around? I know Zend Form is new and although the documentation is good, I'd like to know if there some examples or where to find the full specs for .ini files.

thanks,

--Roberto
Reply With Quote