backend.form.beforeRefresh
        
        Called before the form is refreshed.
    
    
This allows you to modify the form data before the form is refreshed.
Usage
Attached to a form widget instance.
$formWidget->bindEvent('form.beforeRefresh', function (
    \stdClass $dataHolder
) {
    // Your event listener code goes here...
});Parameters
| Parameter | Type | Description | 
|---|---|---|
| $formWidget | Backend\Widgets\Form | The form widget instance. If the event is attached directly to the form widget, this parameter will be omitted. | 
| $dataHolder | stdClass | stdClass An object containing the data from the form to be saved. It contains one property,  | 
Triggers
| Class or file | Line | 
|---|---|
| Backend\Widgets\Form | 370 | 
    Copyright © 2025 Winter CMS