Some fields are incomplete: error coming in portal

Debojyoti
Tera Contributor

Some fields are incomplete:  - this error is coming in portal for not filling the values for mandatory field ,  but after submitting the form also this error is staying on the form , its not disappearing for some users and for some users its disappearing .

find_real_file.png

can anyone help on this how to solve this ?

7 REPLIES 7

SumanthDosapati
Mega Sage
Mega Sage

Hi @Debojyoti 

In your onSubmit client script you can write the below line to clear all error messages before submitting.

g_form.clearMessages();

 

Mark as correct or helpful if it works.

Regards,

Sumanth

Musab Rasheed
Tera Sage
Tera Sage

Hi @Debojyoti ,

Go through this below KB article. Mark my answer as correct if that helps.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0717045

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab

hi @Musab Rasheed ,

the issue is - after submitting the form also the error is  staying on the page for some users .

What type of mandatory field is that.? Are they allowed to submit form and only error is not going.? 

Please hit like and mark my response as correct if that helps
Regards,
Musab