-- Teemu Välimäki <[EMAIL PROTECTED]> wrote (on Wednesday, 19 March 2008, 03:11 PM +0200): > On Wednesday 19 March 2008 15:05:30 Matthew Weier O'Phinney wrote: > > > In most cases, you pass a 'value' option. The exceptions are > > submit/reset/button types, and checkboxes; some examples are below: > > Thank you for this. The one I was looking for was 'label' for submit. For > some > reason value does not work for me currently in 1.5 stable, but I suspect it > to be my own fault. I'll write back, if that's not the case.
setValue() won't work for setting the <input> value. The reason is that we use it in isChecked(): if the value matches the label, then isChecked() will return true. This allows you to make decision trees based on what submit button was used. -- Matthew Weier O'Phinney PHP Developer | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/
