Jump to content

Recommended Posts

Posted

Some fieldtypes have 'subfields' (not sure if that's the right term exactly). For example, the "Address" field within the Map Marker fieldtype.

Is it possible to use setAndSave() to set some subfield of a field? Seems like it should be possible but I can't work out what the right syntax is.

  • Like 1
  • 5 years later...
Posted

Is it possible to do this now? Say, for example, I want to save a FieldsetPage doing something like:

$page->setAndSave('button.url_address', $value);

EDIT: I think it's not, just reviewed the Page class ?

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
  • Recently Browsing   0 members

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