Mandatory asterisk is still red even though the field has value

vai
Kilo Contributor

Hi,

I have a field of type List, I am trying to assign values to it with the help of a business rule...

          proj.setValue("u_users", current.u_user.toString());

i see that this field of type List has red asterisk even though it has value in it.

find_real_file.pngfind_real_file.png

It looks similar to the above one.

1 ACCEPTED SOLUTION

MKelly83
Giga Expert

Hi Vineeth



This occurs in fields which type is list and the system is assigning the value to the field.


You would expect it to be grey since it is populated. You will still be able to save or submit the record without getting the mandatory error message.



You should be able eliminate this by creating a conditional UI policy (make sure Reverse if false is set)


If user is not empty, then set Read only = Leave alone, Mandatory = false, Visible = Leave alone


View solution in original post

7 REPLIES 7

MKelly83
Giga Expert

Hi Vineeth



This occurs in fields which type is list and the system is assigning the value to the field.


You would expect it to be grey since it is populated. You will still be able to save or submit the record without getting the mandatory error message.



You should be able eliminate this by creating a conditional UI policy (make sure Reverse if false is set)


If user is not empty, then set Read only = Leave alone, Mandatory = false, Visible = Leave alone


Community Alums
Not applicable

Hi Kelly 

I have face the same issue not only particular type field all type of fields shows the red asterisk even though it has value in, it is only on service portals.

 

could you please help me any one ASAP

Greg42
Mega Guru

I think you will need to use g_form.setValue() for the value to be registered properly and the asterisk will go grey.




Regards



Greg