mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
verification
This commit is contained in:
1 parent
05b7cc9fa6
commit
5724159b7b
22 files changed
+623
-31
No files matched your search
@@ -128,6 +128,17 @@ module Submitters
|
||||
next
|
||||
end
|
||||
|
||||
if field['type'] == 'verification'
|
||||
acc[field['uuid']] =
|
||||
if submitter.submission_events.exists?(event_type: :complete_verification)
|
||||
I18n.t(:verified, locale: :en)
|
||||
elsif field['required']
|
||||
raise ValidationError, 'ID Not Verified'
|
||||
end
|
||||
|
||||
next
|
||||
end
|
||||
|
||||
value = field['default_value']
|
||||
|
||||
next if value.blank?
|
||||
|
||||
Reference in new issue
Block a user