Hi everyone
I'm doing a small app to book your days off but for example if someone wants to book 2 or 3 days, I'd like to be able to have by default the previous value that he entered
For example, imagine I want to book 3 days during week 39, so I book the first day and I select the week 39 so when I save, I'd like that my field take the week 39 by default
My next question is How can I hidden a field with a default value?
So for example I want that the name of my employee is the name of the the current user so I use user().fullname and it's work but I can edit this field so is there a way to show the field but to forbide users to edit it?
Any idea of how could I do that?