Development

#3336 (Print help in sfFormField->renderRow)

You must first sign up to be able to contribute.

Ticket #3336 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

Print help in sfFormField->renderRow

Reported by: sanubrio Assigned to: fabien
Priority: minor Milestone: 1.1.0 beta4
Component: form Version: 1.1.0 DEV
Keywords: Cc:
Qualification: Unreviewed

Description

Have a option for custom help, but if haven't custom help can print default help.

Propose:

$help = $help ? $help : $this->parent->getWidget()->getHelp($this->name);

Change History

04/15/08 00:32:33 changed by fabien

  • milestone set to 1.1.0 beta4.

(in reply to: ↑ description ) 04/15/08 00:34:58 changed by sanubrio

Or better:

$help = $help ? $help : (false !== $help ? $this->parent->getWidget()->getHelp($this->name) : null);

04/16/08 19:41:51 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [8485]) changed the sfFormField::renderRow() signature to be able to add HTML attributes, change the label and the help message (closes #3336)