I have created content type with several fields. I want to add an ajax property to some fields in that content type using hook_form_alter.

Is there any way to inject the ajax property to an existing field if I know the machine name of that field?

Is there any way to update an existing field state using ajax?

How can I do this programatically?

Comments

Version: 7.26 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.