ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Safecracker adds arbitrary code to freeform forms (and possibly others)

May 02, 2011 6:28am

Subscribe [2]
  • #1 / May 02, 2011 6:28am

    Richard Frank

    200 posts

    Hi

    I’m getting the following fields added to my freeform form when Safecracker is enabled. It only gets added to the last freeform on the page.

    I’m not sure whether its freeform or Safecracker related.

    <input type="hidden" name="allow_comments" value="n" /> 
    <input type="hidden" name="entry_id" value="4" /> 
    <input type="hidden" name="author_id" value="1" />

    Thanks,
    Richard

  • #2 / May 02, 2011 6:31am

    Richard Frank

    200 posts

    This only occurs when the user is a guest, when the user is a super admin these hidden fields don’t appear.

  • #3 / May 02, 2011 7:51pm

    Sue Crocker

    26054 posts

    Hi, Richard.

    How are you interfacing SafeCracker with Freeform? Normally I don’t mix the two..

    Things to try:

    Find out if you are nesting open and closing tags for these separate add-ons.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases