I
I
Igor2019-06-21 14:49:38
Drupal
Igor, 2019-06-21 14:49:38

How to change upload file name in Drupal8 contact form?

When uploading a file via the contact form, you should automatically generate its name based on the values ​​of other form fields.
The contact form is used, the type of the loaded field is file, and the file name must be made from the values ​​of other fields.
Tell me how can this be done?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
cssman, 2017-08-16
@cssman

It seems that you yourself do not understand what you are asking :)
1) Make permissive rules;
2) At the end, put an explicit from ani then ani - deni (of course it is implicit and so it is, but it is best practices to explicitly designate it).
Blocking sites is already a url filtering mechanism. To block content, not by url - this is the ssl inspection mechanism.
Google it.

D
Dmitry, 2017-08-16
@Tabletko

In the firewall, make the DROP any from any rule, and write allowing rules in front of it.

U
Uncle Seryozha, 2017-08-17
@Protos

To block https, you need to install the squidguard module, configure it, generate a certificate, and deploy it on all computers. In other words, set up a proxy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question