Jump to content

fields added in hook on buildFormContent are empty


valan
 Share

Recommended Posts

This issue appeared after upgrade from 2.7.2 to 2.8.35

There are two hooks:

- One triggers on ProcessPageEdit::buildFormContent where I add custom fields, e.g. like $form->insertBefore($virtualfield, $realfield);.

- Another triggers on saveReady where I get and process values entered in these 'virtual' fields (e.g. $page->virtualfield).

Before upgrade it worked. After upgrade, my custom 'virtual' fields are always empty in saveReady hook.

Please advice what could be a reason and how to fix it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...