Class on submit button

edited March 2015 in Modules
Is ther a way to add a class to the submit button using the form_builder? Can't see one in the docs.

Comments

  • edited 10:35AM
    You can actually specify the entire submit button HTML and it will override the button:
    $this->form_builder->submit_value = '<input type="submit" name="submit_form" class="my_class">';
  • edited 10:35AM
    Fantastic! Thanks!
Sign In or Register to comment.