Email center - Custom Templates settings - all toggles can not be turned off
Description
Email center - Custom Templates settings - all toggles can not be turned off can not be turned off:
E.g:
Once you have selected Ignore contact preferences on an email and saved it, you can not uncheck it again. You can uncheck the box, but when you save it comes back as checked again.
I checked it out and think the issue because this
this function getCollectionWithoutSystemVars(); cant get data for unchecked checkboxes
i think we should use this function instead
getCollectionForForm( formName=rc.$presideform ?: "" )
See my example below:
First struct is getCollectionWithoutSystemVars();
Second struct is getCollectionForForm( formName=rc.$presideform ?: "" );
Environment
None