Am setting up a new SafeCracker form, but running into an error right from the start. When I submit the form, I get an error “The Display Name field is required.” I’ve stripped down the template to the barebones, and am still getting the error.
{exp:safecracker channel="lakes" return="lakes/ENTRY_ID"}
<label for="title">Title</label>
<input type="text" name="title" id="title" value="{title}" maxlength="150" />
<input type="submit" name="submit" value="Submit" />
{/exp:safecracker}
Am running EE 2.2.1 with hotfixes (http://ellislab.com/forums/viewthread/193320/) applied.
Not sure if this helps troubleshoot, but the error console in Firefox indicates two instances of “$ is not defined.” on lines 31 & 37. When viewing the source code for the file linked from the error console, it only has 29 lines, with the last being:
<style type="text/css">.hasDatepicker{background:#fff url(<a href="http://localhost/iaglr/themes/cp_themes/default/images/calendar_bg.gif">http://localhost/iaglr/themes/cp_themes/default/images/calendar_bg.gif</a>) no-repeat 98% 2px;background-repeat:no-repeat;background-position:99%;}</style>[removed]$.createDatepickerTime=function(){a=new Date();b=a.getHours();c=a.getMinutes();if(c<10){c="0"+c;}if(b>12){b-=12;d=" PM";}else if(b==12){d=" PM";}else{d=" AM";}EE.date_obj_time=" '"+b+":"+c+d+"'";};$.createDatepickerTime();[removed]