Auto save form response based on form config (#217)
* Auto save form response based on form config * Move confetti and autosave to customization --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -74,6 +74,7 @@ abstract class UserFormRequest extends \Illuminate\Foundation\Http\FormRequest
|
||||
'editable_submissions' => 'boolean|nullable',
|
||||
'editable_submissions_button_text' => 'string|min:1|max:50',
|
||||
'confetti_on_submission' => 'boolean',
|
||||
'auto_save'=> 'boolean',
|
||||
|
||||
// Properties
|
||||
'properties' => 'required|array',
|
||||
|
||||
@@ -81,6 +81,7 @@ class Form extends Model
|
||||
'editable_submissions',
|
||||
'editable_submissions_button_text',
|
||||
'confetti_on_submission',
|
||||
'auto_save',
|
||||
|
||||
// Security & Privacy
|
||||
'can_be_indexed',
|
||||
|
||||
Reference in New Issue
Block a user