Question on a HTML field using checkboxes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2023 08:11 AM
So I am trying to use a html default on a html field so the user is presented with a checklist on load. The checkboxes work fine however when I save they clear. I know this is more of a html question rather than SN but does any one have any ideas?
Here is example code being used
<p><span style="color: #339966; font-size: 12pt;"><strong><span style="text-decoration: underline;">Discussion Topics</span></strong></span></p>
<table border="1">
<thead>
<tr>
<th style="text-align: center;">Item</th>
<th style="text-align: center;">Content Name or Link</th>
<th style="text-align: center;">Type</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="checkbox" /> Clean and set up office/work area</td>
<td>Cleaning guidelines and office decor. </td>
<td>All</td>
</tr>
<tr>
<td><input type="checkbox" /> Follow up on IT equipment to ensure delivery/set prior to start date</td>
<td><a href="https://www.google.com" target="_blank" rel="noopener noreferrer nofollow">Click Here</a></td>
<td>All</td>
</tr>
<tr>
<td><input type="checkbox" /> Conduct welcome call</td>
<td>Welcome Script</td>
<td>All</td>
</tr>
<tr>
<td><input type="checkbox" /> Notify team and Key Stakeholders of start date and new hire name</td>
<td>List of Stakeholders</td>
<td>All</td>
</tr>
<tr>
<td><input type="checkbox" /> Notify department trainer or schedule applicable training (safety, software/hardware, job training etc.)</td>
<td><a href="https://www.google.com" target="_blank" rel="noopener noreferrer nofollow">Click Here</a></td>
<td>All</td>
</tr>
<tr>
<td><input type="checkbox" /> Create training plan and communicate to relevant staff</td>
<td><a href="https://www.google.com" target="_blank" rel="noopener noreferrer nofollow">Click Here</a></td>
<td>All</td>
</tr>
<tr>
<td><input type="checkbox" /> Schedule an NMAP scan on new hire's device</td>
<td><a href="https://www.google.com" target="_blank" rel="noopener noreferrer nofollow">Click Here</a></td>
<td><strong>Manager Only</strong></td>
</tr>
</tbody>
</table>
<p> </p>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2023 12:16 AM
I believe there's no support for checkboxes in the HTML editor... Kinda.
it's a bit stupid. The editor doesn't recognize checking the checkbox in a way that would update the HTML part, so when you save it goes back to unchecked. You could edit the source and add checked="checked" after type="checkbox" to get it to work, but of course you're not going to ask users to do that every time they want to check something.
If I were you I'd just have a new column where something like X is used to indicate checked. It's not ideal, but any other workaround to get the checkbox working is too much extra work for such a simple thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2024 11:37 PM
Hello Nic,
Were you able to work it out or find alternatives for the above checkboxes? I got the same requirements and want to know if possible now. Thank you in advance for your advice.