Jump to content

Using setAndSave() with subfields


Robin S
 Share

Recommended Posts

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
Link to comment
Share on other sites

  • 5 years later...

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 ?

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...