Mapping fields on Forms/Integration_Base not updated on already added forms #25644
stefanolissa
announced in
Developers Community
Replies: 1 comment
-
Hi, Stefano, You are not the only one who is experiencing this behavior, I also found this problem #8938 with a suggested solution. Ludek |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Start a discussion
Hi,
using the Forms/Integration_Base to add an "Action after submit" setting, if the mapping fields configuration (returned by
get_fields_map_control_options()
) changes (for example because a new field is added), forms already added to a page don't show the new field, while if I add a new form, the new field is shown. It seems a form caches the initial mapping settings forever. Even if the action is removed, the page saved, and added once again, the old field list is shown.It happens only to field mapping controls (added
using register_fields_map_control()
), while other controls in the section, when changed, are shown.On the method
get_fields_map_control_options()
I'm returning an array with the list of fields under the "default" key:Isn't it the correct way to return the field options?
Stefano.
Beta Was this translation helpful? Give feedback.
All reactions