libreform/wp-libre-form

Better default subhmission title

Closed this issue · 3 comments

Currently the default title is %name% <%email%> (i guess). But I propose to make this a empty title and use %form-title% #%submission-id% as default title.

If my form is called "Contact Form", will generate automatically an submission with title: Contact Form #1234

This makes sense to me, we just need to make sure that there is some kind of default title if the form has no name.

@k1sul1 opinions?
@luizbills would you like to do PR?

...we just need to make sure that there is some kind of default title if the form has no name.

Maybe Submission as default prefix/title.

@luizbills I have no time to PR, sorry.

I guess this is just a matter of setting the new default, as any forms that existed before that change have saved the value in a database, so changing it won't break anything.

The only problem is that right now the only values it supports are the input fields on form, so %form-title% and %submission-id% are something that don't exist.