Skip to content

Commit

Permalink
[Changed] Finish implementation of client-side validation for basic r…
Browse files Browse the repository at this point in the history
…ules 'required' and 'email'.
  • Loading branch information
kftw committed Jun 30, 2023
1 parent 08a7666 commit 3c815dc
Show file tree
Hide file tree
Showing 8 changed files with 546 additions and 517 deletions.
7 changes: 7 additions & 0 deletions Configuration/TypoScript/Setup/Page/include.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
page = PAGE

# tw_forms critical javascript and polyfills. Must be included inside <head> of the document!
page.includeJSLibs.tw_forms_critical = EXT:tw_forms/Resources/Public/tw-forms.critical.min.js

# tw_forms default javascript. Depends on tw-forms.critical.min.js
page.includeJSFooter.tw_forms_default = EXT:tw_forms/Resources/Public/tw-forms.default.min.js
1 change: 1 addition & 0 deletions Configuration/TypoScript/setup.typoscript
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Imports all files ending on .typoscript from the specified folder. It does however not import files from sub folders.
@import 'EXT:tw_forms/Configuration/TypoScript/Setup/*.typoscript'
@import 'EXT:tw_forms/Configuration/TypoScript/Setup/Page/*.typoscript'
@import 'EXT:tw_forms/Configuration/TypoScript/Setup/Plugin/*.typoscript'
72 changes: 0 additions & 72 deletions Resources/Public/Javascript/000.polyfills.critical.js

This file was deleted.

77 changes: 0 additions & 77 deletions Resources/Public/Javascript/100.observer.critical.js

This file was deleted.

Loading

0 comments on commit 3c815dc

Please sign in to comment.