How to prefill the title of a dexterity add form

Just wondering if anyone has done something where the title needed to be prefilled when adding a new item.
I'm aiming for something like this:
visit the following url

mysite.com/++add++Folder?form.widgets.IDublinCore.title=agenda

Would result in the title being prefilled as agenda:

Add a bit of jquery that will check the url and fill the form on load

Yup... that's what I'll have to do.

There is an attribute (allow_prefill_from_GET_request) you can set to allow this. See full discussion on the thread below:

I went ahead and implemented it with jquery, here's the code I used.

$(document).ready(function(){
 
    /* set the title in the form if it is set by the url parameter */
    var urlParams = new URLSearchParams(window.location.search);
    var title = urlParams.get('Title');
    var form_title = $("#form-widgets-IDublinCore-title") 
    if (title && form_title){
        form_title.attr('value',title) 
    }
   
});

It looks for a request variable called Title