I'm building a fesubmit template in cmsms 2.2.3.1. In this template I changed the date/time input fields, see below. For some reason the "expiry" checkbox is checked after submitting the form.
Code: Select all
<div class="form-group rv-startdate hidden">
<input type="hidden" name="{$actionid}startdate_Year" value="{$smarty.now|cms_date_format:'Y'}" />
<input type="hidden" name="{$actionid}startdate_Month" value="{$smarty.now|cms_date_format:'m'}" />
<input type="hidden" name="{$actionid}startdate_Day" value="{$smarty.now|cms_date_format:'d'}" />
<input type="hidden" name="{$actionid}startdate_Hour" value="00" />
<input type="hidden" name="{$actionid}startdate_Minute" value="00" />
<input type="hidden" name="{$actionid}startdate_Second" value="00" />
</div>
My question: How can I uncheck the expiry checkbox through the fesubmit template?
Any hint or solution?
Thanx. Ronald