Hey guys,
I need to use NOW in date and time for a form in studio (for save date and time a user made a form)
how is that possible to set present day and time in a read-only mode for a field?
thanks
Hey guys,
I need to use NOW in date and time for a form in studio (for save date and time a user made a form)
how is that possible to set present day and time in a read-only mode for a field?
thanks
Hello
current datetime value can be fetched using Built-ins variable by providing the evaluation expression like expr:eval: __datetime__
.
To know more about Built-ins variables, you can refer : Actions :: Axelor Documentation
Thank you
Hi @rch-axelor and thanks for reply
I added a Date Time from studio and tested in many ways (like these images) with ’ and " and without them with : or = or many ways
would you please check and tell me where is my wrong?
thanks
Hello
You are trying to specify value Expr from studio for field. Here you have to provide the javascript expression.
For current datetime new Date()
. (without any single or double quotes or eval:)
Thank you
it works with an action
thanks
Ce sujet a été automatiquement fermé après 30 jours. Aucune réponse n’est permise dorénavant.