How can I make the date field editable on my table

Toni1
Tera Contributor

Hi All, 

 

I have created a table on a catalogue item using the following script, But I would like the date field to be editable, but the rest of the table not would anyone know how I can do that on my script please?

 

Toni1_0-1730196834503.png

 

Script created:

 

<div>
  <head>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
 
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
 
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
</head>
<body>
 
<h2>Service Release Key Events</h2>
 
<table>
<tr>
<th>Event</th>
<th>Decision / Action</th>
<th>Date</th>
</tr>
<tr>
<td>Projects readiness to proceed to deployment</td>
<td>Project is ready to proceed with its release plan after sucessful UAT</td>
<td></td>
              </tr>
<tr>
<td>Operational support team readiness</td>
<td>Prepared to accept ownership of operational support function</td>
<td></td>
</tr>
<tr>
<td>Go / no go meeting</td>
<td>Decsion to proceed with release into the live environment</td>
<td></td>
        </tr>
          <td>CAB Meeting</td>
          <td>Authorisation by the change advisory board to proceed with release</td>
</table>
</body>
</div>

 

2 REPLIES 2

Runjay Patel
Giga Sage

Hi @Toni1 ,

 

You can add input type field for date

 

<input type="date" id="fname" name="fname">

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

Hi

Thank you for your response, where would this line go on the script for it to show under in date, I need it to show on all 4 lines? 

thanks