Time worked field in servicenow

manju5
Tera Contributor

Hi,

 

I have added the Time Worked field in incident form. This field is OOTB field.

manju5_0-1701248766395.png

 

This field is mandatory for incident form I have done this but It wont work in portal end but it is working for portal end also How can I restrict from portal end. Please could help me anyone.

 

Thanks,

Manju

14 REPLIES 14

Anand Kumar P
Giga Patron
Giga Patron

Hi @manju5 ,

Its not mandatory field by OOB and also not visible in portal form.

AnandKumarP_0-1701249276140.png

AnandKumarP_1-1701249852816.png

 

Please mark it as helpful and solution proposed if it serves your purpose.

Thanks,

Anand

 

Hi @Anand Kumar P ,

Yes, It's not mandatory but I have written one client script for mandatory. That client script will work when we will submit the form or update the form but this mandatory client script is working to portal end.

 

Thanks,

Manju 

manju5
Tera Contributor

I have written this client script, check below screenshot

manju5_0-1701251451866.png

How to restrict the portal end

Hi @manju5 ,
Onsubmit client script make it to desktop.

AnandKumarP_0-1701252485892.png

Please mark it as helpful and solution proposed if it serves your purpose.

Thanks,

Anand