I have a check box and two date fields(from,to). Date fields are disabled by default and gets enabled when checkbox is checked. If check box is checked, then there is no problem with POST and date values are obtained in posted page. But when check box is not checked, date fields are disable and on POSTING , I am getting following errors.
Notice: Undefined index: from
Notice: Undefined index: To
Notice: Undefined index: checked
How can I solve this issue?