Issue with Checkboxes Not Saving in IDEA Templates

guptaa25
Tera Contributor

Hi,

I'm trying to add checkboxes to my saved templates in IDEA, but the responses aren't being saved. Whenever I click "Submit," "Save," or "Update," the selected checkboxes reset and disappear. I attempted modifying the HTML code for the template, but the issue persists.

Does anyone know a possible fix for this? I’d appreciate any help!

Thanks!

5 REPLIES 5

Viraj Hudlikar
Giga Sage

Hello @guptaa25 

Can you share some screenshot what you are trying so we will be able to help you.

 

Thanks & Regards,
Viraj Hudlikar

@guptaa25 - I doubt the HTML render is happening as when we select the checkbox and if we open source code of same we cannot see attribute named checked is added to input type checkbox. If you manually add this attribute and save record and when record reload we see the value is selected as the attribute is present.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

Thanks & Regards
Viraj Hudlikar.

Would you be able to help me with a solution to this then?

guptaa25
Tera Contributor

I used this code:

</tr>

</td>

<td><input id="ai" name="committee" type="checkbox"> <label for="ai">Artificial Intelligence (AI)</label><br><input id="arb" name="committee" type="checkbox"> <label for="arb">Architectural Review Board (ARB)</label><br><input id="csc" name="committee" type="checkbox"> <label for="csc">Capital and Space Committee (CSC)</label><br><input id="dac" name="committee" type="checkbox"> <label for="dac">Data Advisory Council (DAC)</label><br><input id="pcc" name="committee" type="checkbox"> <label for="pcc">Patient Communication Committee</label><br><input id="psc" name="committee" type="checkbox"> <label for="psc">Patient Safety Committee</label><br><input id="rit" name="committee" type="checkbox"> <label for="rit">Research IT</label><br><input id="sab" name="committee" type="checkbox"> <label for="sab">Software Advisory Board (SAB)</label><br><input id="none" name="committee" type="checkbox"> <label for="none">None</label> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>

<td style="background-color: #fbeeb8;"><em>Select the governance committees that apply. If none, select None.</em> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>

</tr>