Error: The following fields contain errors on HTML variables

JenCabrera
Tera Contributor

We have existing record producers with mandatory HTML variables.

If a user fills out all mandatory variables, they can submit the form with no issues.

If they forgot to fill out a mandatory HTML variable, they'll get the validation error saying some fields are incomplete. When they go back to fill it out and then resubmit, they get the "The following fields contain errors" error message.

This issue is showing up in all our forms with HTML variable.

 

Any else have/had this problem? Any idea how to fix? 

8 REPLIES 8

Hi @JenCabrera 
We have also raised HI case and got a workaround, thank you 🙂

Vinoth_N
Tera Contributor

Hi Could you please share the workaround

 

Vinoth_N
Tera Contributor

RajiniM could you Share the reference link for workaround thanks 

 

RajiniM
Tera Contributor

Hi @Vinoth_N 

Here is the response from ServiceNow:
Most Probable Cause:
The issue you are seeing is a known problem PRB1862176 which I am attaching to the related records. The problem is being scheduled to fix in Yokohama Patch 4.

Solution Proposed:
In the meantime we have a workaround.

1. Navigate to System UI UI Scripts (/sys_ui_script.do).
2. Create a new UI Script named spTinymceEditor.
3. In the Script section, copy the contents from the attached file (workaround_DEF0644749.txt) added to the case & save it.
4. Now, Navigate to the Service Portal Configuration by going to Service Portal Themes.
5. Select the portal theme associated to with portal
6. Under the JS Includes section, include a new JS include., in which, search for the spTinymceEditor UI Script that that was created earlier(spTinymceEditor). Select it and save the changes.

Please mark helpful !
Thanks
Rajini