dspolyglot Posted October 6, 2017 Report Share Posted October 6, 2017 Hello guys, How can I use the timestamp as a default or initial value of my DateTime field in a Details page? I set the Form Type to Text Field, but I can't see the On Load option in the Advanced Tab. If I set the field as Hidden, I get that On Load option, but at the expense of not being able to edit it. Please help. -dspolyglot Quote Link to comment Share on other sites More sharing options...
nightowl Posted October 7, 2017 Report Share Posted October 7, 2017 Hi dspolyglot, You can try this script inside an HTML block: <script> document.getElementById('EditRecordFIELD_NAME').value = '[@cbTimestamp]'; </script> Hope this helps. Quote Link to comment Share on other sites More sharing options...
Barbie Posted November 30, 2020 Report Share Posted November 30, 2020 Hi, Just to add, you can also add (*) in the [@cbTimeStamp] if you want to get the date only. You should use this: [@cbTimestamp*] I hope this helps.-Barbie Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.