• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /var/www/html/cnasolution/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/index.php
Line: 315
Function: require_once

I have some code like this. When I did not put any input in last name or first name and click submit button, it shows me the red color in border. I know that's because I use required in both of them. But I am wondering is there a way to change that red color to other colors (like green for example)?

 
Download script demo [LINK]
Download script demo [LINK 2] Download script demo [LINK 2]