Open
Description
for example the upload field:
in upload you have the property "Allowed File Size"
It would be great to have this property inside the main tools "Variables"
How can this be done?
e.g. "Allowed File Size" must be 0
than you have to create a Container "Variables" in your model with an integer Var type.
Beside the Basic Data with the default Value there should be "Further options"
- entity
- entity field
The validator will check if the entity field exists and the var type of the entity field is matching the choosen var type in the variables container.
Other fields of upload where this relation can be usefull:
- Allowed File Extensions
- Regular Expression
- Sub Folder Name (with check if it exists and is writable)
This might be also be usefull for other fields with "further options" but mostly for upload