Wonder if any of you good people can help here? I’ve got 2 select boxes on my contact form configured as follows
<label for="cfRegarding">Regarding:</label>
<select name="subject" id="cfRegarding" eform="Form Subject::1">
<option value="New Sports Surface">New Sports Surface</option>
<option value="Sports Surface Refurbishment">Sports Surface Refurbishment</option>
<option value="Playground Surface">Playground Surface</option>
<option value="Garden Surface">Garden Surface</option>
</select>
<label for="cfLocation">Location:</label>
<select name="location" id="cfLocation" eform="Location::1">
<option selected>Please tell us where you are...</option>
<option>England</option>
<option>-South East</option>
<option value="Bedfordshire">--Bedfordshire</option>
Obviously I’ve not pasted the whole list here!
And I’m getting the following error;
PHP error debug
Error: Invalid argument supplied for foreach()
Error type/ Nr.: Warning - 2
File: /******/****/********/******/*********/assets/snippets/eform/eform.inc.php
Line: 843
Line 843 source: foreach ($attributes as $k => $v)
I just don’t understand what the problem is?