I've set up a form that gathers a bunch of information and them use post fields to create new posts with the info gathered.
I'm using jquery and javascript in my body field and am having issues only in certain occasions.
WHAT WORKS:
If a user is Editor or Admin everything seems to work great.
WHAT DOESN'T WORK:
If a user is given a role lower than Editor (e.g. Author, Contributor, Subscriber). The scripts in my Post Body field are not written properly to the newly created posts. Some CSS ID tags seem to be stripped as well.
Any thoughts/ideas?