Thanks, it works for the most part. I am having a few issues with the safecracker form. The first part is radio buttons. For some odd reason when I use the form to edit entries the radio buttons decide to ignore the values submitted. I double checked with the entry list in the CP and saw that it wasn’t making any changes. The edit form is exactly the same submission form with the values of the buttons being “Yes” and “No”. (toggleStatus just disabled an input box below if yes).
<input type="radio" id="label" name="label" {if label == "Yes"} checked="checked" {/if} value="{label}"> Yes
<input type="radio" id="label" name="label" {if label == "No"}checked="checked"{/if} value="{label}"> No
So when I refresh the page after editing, it just stays the same. Any ideas?
Another question that is very important, is there anyway to setup safecracker to automatically set a page_uri for an entry? Or anyone know a work around so that a member can set the page_uri through their entry submissions? This would save my client alot of time, and be more efficient for the members.
Also sometimes the safecracker file gives me an error when I upload files, saying that it couldnt write to the location that it was designated to. I made sure the permissions were fine and that the file size wasn’t to huge but I am not quite sure whats wrong. I set it to regular file, and then it goes through, but it doesnt hold on to the file—so when I look at the entry list in the cp no file is attached to the entry. Sorry for all the questions, any help with these problems would greatly be appreciated.