I’m trying to setup a template for my note-taking while in class and I’m already using a tp.system.suggester for the tags [Type, Class]. And I’d like for the name of the new note to be named “Type-Class-Date”.
I could put a second userInput or suggester but it would just be some unwanted redundancy.
so far I have <% tp.file.rename(tp.file.tags + “-” + tp.date.now(“DD.MM.YYYY”)) %> which display either “undefined-20.07.2023” or “-20.07.2023”, this code part is put below the suggester prompt
Things I have tried
I tried accessing the tp.file.tags as a normal array like tp.file.tags[0] to no avail.
As I’m already getting the user’s input on the tags line, I want to reuse those inputs on the title line instead of asking once more the exact same questions