the formtag looks like this
{exp:safecracker channel="uster" preserve_checkboxes="no" return="stats/edit/ENTRY_ID" entry_id="{segment_3}" }
...
{/exp:safecracker}
i dont want to allow logged-out users to see or edit the form.
i had
{if member_group == '1' OR member_group == '6'} ... {/if}
around the form and even if i take it away it doesn’t change anything.
in the sourcecode i find this
[removed]
// <![CDATA[
$(document).ready(function() {
if (typeof SafeCracker == "undefined" || ! SafeCracker) { var SafeCracker = {markItUpFields:{}};}
$.datepicker.setDefaults({dateFormat:$.datepicker.W3C+EE.date_obj_time});
$.datepicker.setDefaults({defaultDate: new Date(1290436179000)});});
// ]]>
[removed]
<style type="text/css">.hasDatepicker{background:#fff url(http://www.xy.org/stats/themes/cp_themes/default/images/calendar_bg.gif) 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{d=" AM";}EE.date_obj_time=" '"+b+":"+c+d+"'";};$.createDatepickerTime();[removed]
afther safecracker