It seems the FAPI documentation is wrong where it state that #ajax is an available property for the hidden element although it isn't.
I tried to trigger an #ajax callback on a hidden element and it won't work, it is explain why in this issue #1199086.

Can we remove #ajax from the hidden properties list in the doc ?

Thanks.

Comments

jhodgdon’s picture

Issue tags: +FAPI reference

tagging

ken_y’s picture

Just reviewed the arguments, they seem sound.

Agree the indication of support should be removed.

jhodgdon’s picture

The next step would be a patch. The file is in the Documentation git repository.

jn2’s picture

Status: Needs review » Fixed

This is fixed for D7 and D8.

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