How to add a field with Days:Hours:Minutes format

Sathwik1
Tera Expert

I need to add a field on a table..with format "Days:Hours:Minutes" it needs to fill as per the format...how to do it? can anyone suggest me

1 ACCEPTED SOLUTION

Hi,

updated below should work

function onLoad(){

var fieldName = 'u_downtime';
document.getElementById('ni.' + g_form.getTableName() + '.' + fieldName+ 'dur_sec').style.display = 'none';

}

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

11 REPLIES 11

Hi Ankur,

 

Can you also please share How to remove Days Text box, and where  we can find the backend name of these Boxes like Days, Hours,.., 

Ankur Bawiskar
Tera Patron
Tera Patron

@Sathwik 

you can also use Type as "Time"

But it would show Hours: Minutes and Seconds but no days

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader