Custom Error Message - Close button is not showing

Hi Friends,

            i added some custom error message in the form. Once i clicked the save button. Error message is showing but close button is not showing. Please give me the solution friends.

What did you do and what where you expecting? Most errormessage have an x to click on or are disappearing automatically.

i check already existing the name in beforeinsert event like
Eg: name, email id - fields
i check name is already existing validation in beforeInsert Event

 my code: $sql="select name from users where  company_id=1 and name ='{name}' ";
               sc_lookup(ds_sql, $sql);
               $msg = "Name is already exists";
               sc_error_message($msg);

Note : Name is already exists - error message showing. but x button is missing

New version coming soon — check out what's new in Scriptcase 9.12! New version coming soon — check out what's new in Scriptcase 9.12!