Adding custom CSS Class to Radio Options

Home Forums Quform WordPress Adding custom CSS Class to Radio Options

This topic is: not resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32800
    pixelblvd
    Participant

    Hi,

    I’m dynamically populating, radio fields this way.

    $options[] = array(‘label’ => $label , ‘value’ => $value, ‘id’ => $id);
    $element->setOptions($options);

    Is there a way to add a custom css class to each of the fields too?

    #32809
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #32813
    pixelblvd
    Participant

    Unfortunately thats no real solution, as i need to color group several options together, but thanks anyway.

    #32815
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy