how to store html checkbox values in html field

Arjun Kumar Le1
Tera Contributor

I have html code which have checkboxes when i check and save the incident the checkboxes that was selected before was unchecked. how to store that data like here i check test 1 and when i save the test1 is unchecked but i want to save the data.

ArjunKumarLe1_0-1686163974811.png

 

 

html code:

<ul style="list-style-type: none;">
<li><input type="checkbox" />Test 1</li>
<li><input type="checkbox" />Test 2</li>
</ul>

 

 

1 ACCEPTED SOLUTION

@Arjun Kumar Le1 it's not possible to achieve that.

 

Please mark as correct answer if this helped you.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

View solution in original post

7 REPLIES 7

@Arjun Kumar Le1 it's not possible to achieve that.

 

Please mark as correct answer if this helped you.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

please tell me any alternate solution 

@Arjun Kumar Le1 create Boolean fields on the form instead if in the HTML field 

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023