I thought this was going to be easy, but no..
I have a select field (field_eventtype) from taxonomy (2) set to required and with a default value of None.

I tried a link ?edit[field_eventtype][value]=143
143 being the term id of one of the options..

I tried MANY things.. reading all the issues and nothing worked..

What would you try?

Comments

alliax’s picture

I've found the solution after a long time looking around, and finally it was because I have put my field in a group, so I needed to add this group in front of the field name.. I put it here for future reference if it can help someone having the same (basic) problem as me, or to help my future me if one day I forget about that and find back my issue on google..

this didn't work:
?edit[field_eventtype][value]=143
this worked:
?edit[group_event][field_eventtype][value]=143

VERY simple once you know it..

marcoka’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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