Jump to content

How to update field label in template context?


Marc
 Share

Recommended Posts

I have a bunch of fields that have a label that is overwritten by the context of the template the fields belong to. So outside of the template these field have a different label from inside the template. I want to keep the outside label intact and overwrite the template-specific labels with the API. So how would I turn the code below into something that sets a new label for only the template context?
 

$f->set("label", "new value");

$f->save();

 

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