PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Create Posts not passing scripts appropriately

  1. 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?

    Posted 11 years ago on Wednesday May 23, 2012 | Permalink
  2. David Peralty

    Can you link to your form and give us some more information on what you are trying to do?

    Posted 11 years ago on Wednesday May 23, 2012 | Permalink
  3. Here it is: http://agencyzed.com/cloudassessment/

    You must register to complete the assessment form in question. As a workaround, I've assigned new registered users the role of Editor.

    Ultimately I'd like to be able to assign them any role (hopefully "Contributor") to keep things as secure as possible.

    If you register I'll let you take the Assessment to see the expected results, then change your role to one of the lower, problematic ones. Any assessments you take then show the errors.

    Posted 11 years ago on Wednesday May 23, 2012 | Permalink
  4. David Peralty

    Have you tried using one of the role editor plugins (or editing roles) to give contributors the Gravity Form roles?

    http://www.gravityhelp.com/forums/topic/gravity-forms-and-capabilities-editor-role

    Posted 11 years ago on Wednesday May 23, 2012 | Permalink