I am new to Silver Stripe and get stuck with contact-us form of tutorial 3.
If I try to use check box with required option checked in form then it works.
But if it is not checked in form then it gives error like
XML Parsing Error: junk after document element
Line Number 2, Column 1:<b>Notice</b>: Undefined index: EditableCheckbox12 in <b>C:\wamp\www\mimomax\cms\code\PageTypes\UserDefinedForm.php</b> on line <b>216</b><br />
Normally we use check box either it may require or not. It is not compulsory for every user, so how can I solve this problem???????
Also have problem with drop down option, it works well on published site but got error on CMS site like;
Notice: Undefined variable: default in C:\wamp\www\mimomax\sapphire\forms\EditableDropdownOption.php on line 75
Point to notice in both case is that it stores the record in Submissions of the CMS site.
Can you please help me how to solve this problem!!