Closed JimBacon closed 3 years ago
@JimBacon is this separate to one we already use on all Drupal 9 which is sites/default/files/indicia/js & sites/default/files/indicia/css ?
Yes, separate, though very similar in principal, as you noticed. It is a place for php files which validate inputs on submission. (I.e. server-side code rather than client-side.)
When you provide custom validation code for a pre-built form, as described in the documentation, the file is searched for in the
iform/client_helpers/prebuilt_forms/validation
folder.As noted higher up in the documentation
Therefore we need a fix to provide an alternative like
<public files path>/indicia/validation