开发者

how to place an image instaed of a button in zendframework project

I have a send framework project. Here I have form which contain a code for button see

'signup' => array('subm开发者_如何学运维it', array(
            'decorators' => $buttonDecorators,
            'label' => 'Next',
            'required' => false,
            'ignore'   => true,
        ))
    )

I need to place an image instead of the submit button. But I don't know how?

Does anyone know this?

Thanks in advance......


i think you need to write 'image' instead 'submit';

'signup' => array('image', array(
            'decorators' => $buttonDecorators,
            'label' => 'Next',
            'required' => false,
            'ignore'   => true,
        ))
    )

try this.i have not used ZEND framwork yet. but it may helpful to you...

Thanks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜