How to populate text input?

I want to populate an text input box with the current date
how can I do?
Thank you

Hello,
In App Structure add new component > Data > Date and Time.
Then select the field, add new dynamic attribute > Input > Value and select the Date And Time Value. Use the formatter to format the date in the format you need it.

ok, but it doesn’t work

My step:
Step 1 - Add Date and Time

Step 2-3 - Set Value

How did you format the date exactly?

It is not formatted then?
Please provide a link to your page.

erp.decoresin.com
user: test
pass: test
link: https://erp.decoresin.com/app/documenti/documenti-vendita.php

Change the field type to text:
Screenshot_3

If you want to use a datepicker there just convert it to a date picker field!
Screenshot_4

ok, I done

So, is it better now?

ok, but I do not see the current default date

ok ok
it works

1 Like

Is it correct for you ?

it show current date but it doesn’t save in database !

the problem is set Value for database insert query
How can I set this value ?

SOLVED
Thank you

1 Like