Not sure if i am missing something, but when i set "Action to take when prepopulating field with values via URL" to
"disable"
or
"hide"
field is not disabled or hidden.

Field is populated successfully.

Comments

amitaibu’s picture

Is it with user ID 1?
Try with non admin, it's probably the "skip access"

FanisTsiros’s picture

Category: bug » support
Status: Active » Closed (fixed)

Oh, yes indeed! Thanks...

kruser’s picture

Status: Closed (fixed) » Active

I'm seeing this issue also as a non admin. The entity field reference field populates correctly, but it doesn't hide or disable.

amitaibu’s picture

Status: Active » Postponed (maintainer needs more info)

Did you try with the -dev version?

mfoda’s picture

having same problem as #3. Do I have to use the dev version? How safe is that for a production site?

Thanks

mfoda’s picture

Status: Postponed (maintainer needs more info) » Fixed

Never mind. It is working correctly. The problem was caused by a separate issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ChrisValentine’s picture

Version: 7.x-1.0 » 7.x-1.2
Status: Closed (fixed) » Active

Sorry but I can't get this to [not] work either. Assuming it was down to user permissions, I created a new user with lower permissions and viewed the site from a different browser - but the form fields still display as active. Neither "Hide field" nor "Disable field" make any difference to the form.

Versions:

  • Drupal core - 7.19
  • Entity Reference - 7.x-1.0
  • Entity reference prepopulate - 7.x-1.2
mattsmith3’s picture

Same Issue here. In my case, I'm using Commerce Custom Line Items and this entity reference is exposed to the payer. It's not hiding when user/1 or any other. Tried with and without views as the autocomplete selector. Latest dev of entityreference and entityreference_prepopulate.