'Wordpress Divi Contact Form: filling values from Url

I need to pass values from the URL to Divi contact form fields.

E.g. from the Url

https://...mydivi.../contact?message=hello%20world

the form field message has to be pre-filled with "hello world".

I cannot see any settings in the Divi form module. Do I need to modify functions.php? How?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source