Appnitro Software Forums » MachForm 2

Remove or Reduce Size of Error Highlight


  1. gregcarrart
    Member

    Hello,

    Is there any way to reduce the size or get rid of the pinkish-red error highlight in a form? Currently, if a field is left empty, the form expands. I would like the form to remain it's original length if a user does not fill out the form completely.

    Thanks!

    Posted 7 months ago #
  2. redityo

    Hi,

    You can search these css code on your form and change the attributes values there :

    /**** Errors ****/
    #error_message
    {
    	background:#fff;
    	border:1px dotted red;
    	margin-bottom:1em;
    	padding-left:0;
    	padding-right:0;
    	padding-top:4px;
    	text-align:center;
    	width:97%;
    }
    
    #main_body form li.error
    {
    	background-color:#FFDFDF !important;
    	border-bottom:1px solid #EACBCC;
    	border-right:1px solid #EACBCC;
    	margin:3px 0;
    }

    if you want to remove the error message, you can change the code to be like this :

    #error_message
    {
    	background:#fff;
    	border:1px dotted red;
    	margin-bottom:1em;
    	padding-left:0;
    	padding-right:0;
    	padding-top:4px;
    	text-align:center;
    	width:97%;
    display:none !important;
    }

    MachForm Support

    Posted 7 months ago #

RSS feed for this topic

Reply