The problem with this is that you still can't add information inbetween each
input. For instance:
label for=Mine:/labelinput type=radio / Reference
label for=Mine:/labelinput type=radio / Reference
label for=Mine:/labelinput type=radio / Reference
To accomplish this you still have to
I'm wrong, something like this would work:
$selectOptions = $this-element-getMultiOptions();
$custom = array();
foreach($selectOptions as $value = $label){
?
div class=radioinput type=radio value=?=$value?
/?=$label?/div
?}?
The only problem with this is that you have to re write all
Hi,
I'm trying to develop a Date-picker element to be used in my Zend_Form-based
forms.
Here's the problem:
$this-addDecorator('ViewScript', array(
'viewScript' = realpath(dirname(__FILE__) .
'/jalali_date.phtml')
));
I can't use absolute paths here.
*Warning:
Hi,
I'm trying to use Zend_Dojo_Form to create a form where users can click a
link next to each element to e.g. verify that element against the database
in some way. So next to every element, I want a link saying 'verify', with
an onclick handler to do some XHR stuff. Also before each element I
-- dbroderick [EMAIL PROTECTED] wrote
(on Wednesday, 05 November 2008, 02:38 PM -0800):
I am relatively new to ZF (currently using 1.6.2) and am working on a
multi-page form (subforms) and need to have one of my pages use the
ViewScript so that I could write custom HTML for the layout.
I
After looking through the mailing list archives and trying a lot of different
things I can't seem to find out why the form elements won't display from my
viewscript. They display fine when i don't use a viewscript and use the
default decorators.
My viewscript
-- devxtech [EMAIL PROTECTED] wrote
(on Friday, 26 September 2008, 01:43 PM -0700):
After looking through the mailing list archives and trying a lot of different
things I can't seem to find out why the form elements won't display from my
viewscript. They display fine when i don't use a
Here is what Matthew found out to be the problem. Just posting the solution
for anyone else who has my same issue.
Matthew Weier O'Phinney-3 wrote:
I forgot to include that at the top of my viewscript before was the
following code:
foreach ($this-element as $element):
This solution should work for you. It fixes two issues:
- attributes leaking into html..when they shouldn't
- you get your selects,radio,checkbox and whatever like that working
?php
//we need this trick due to: http://framework.zend.com/issues/browse/ZF-3052
//Expand the list as needed
I am using the example from
http://framework.zend.com/manual/en/zend.form.standardDecorators.html#zend.form.standardDecorators.viewScript
to create a custom viewscript.
i used the example from the manual but it wont render select box options. It
works for all other input types (text etc) and
10 matches
Mail list logo