How to customize checkbox/radio elements with QuickForm2?

Discussion in 'Templates customization' started by oscarmarcelo, Feb 12, 2014.

  1. oscarmarcelo

    oscarmarcelo New Member

    Joined:
    Aug 23, 2012
    Messages:
    5
    I'm using the QuickForm2 funcionality in _form.phtml to customize my forms, however, I can't customize Checkbox/Radio/Checkable inputs.
    I thought that this would work:
    PHP:
    $renderer->setTemplateForClass('HTML_QuickForm2_Element_InputCheckbox'$template);
    as stated on QuickForm2 documentation, but it's not. Did you changed the way the script works, or am I doing this entirely wrong?.
  2. oscarmarcelo

    oscarmarcelo New Member

    Joined:
    Aug 23, 2012
    Messages:
    5
    I'm still looking for an answer... It's kind of urgent! Can anyone please enlighten me? Thanks.

Share This Page