I'm looking to change a dropdown field within an entry, then save it. I currently have a lightswitch which works perfectly, but now I need to change a dropdown field. I have the following for the lightswitch:

            $entry->setFieldValue('proposalAccepted', 1);

I've tried the following with no luck:

            $entry->setFieldValue('proposalStatus', 'delivered');

Is there something I'm missing?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.