How to hide a submit button in codeigniter?

Member

by deron , in category: PHP Frameworks , 8 months ago

How to hide a submit button in codeigniter?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by jasen , 5 months ago

@deron 

In CodeIgniter, you can hide a submit button using CSS by setting the "display" property to "none". Here's an example:

  1. Add a class name to your submit button. For example, let's use "hide-button":
1
<input type="submit" class="hide-button" value="Submit">


  1. Add the following CSS code to your stylesheet:
1
2
3
.hide-button {
    display: none;
}


This will hide the submit button with the class name "hide-button" on your page.