This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

chad
chad

Is there a way to set a label on a form field dynamically from a system setting?

chris10207
chris10207

yep should be possible by using the method inside your model

public function filterFields($fields, $context = null) {
$field->my_field->label = "your own label";
}

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.