mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Update UserDefinedForm.php
Add updateAfterProcess hook
This commit is contained in:
parent
a9aefe38ea
commit
248ff61ebe
@ -1031,6 +1031,8 @@ JS
|
||||
}
|
||||
}
|
||||
|
||||
$submittedForm->extend('updateAfterProcess');
|
||||
|
||||
Session::clear("FormInfo.{$form->FormName()}.errors");
|
||||
Session::clear("FormInfo.{$form->FormName()}.data");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user