Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
For a specific kind of entry I need the time in a date/time field to either automatically display as 23:00/11pm on the user dashboard, or, permanently set the time on that date/time field to 23:00/11pm.
Maybe you can use this plugin: doublesecretagency/craft-cpjs. Then target your field and change its value on load using JavaScript. Not the cleanest, but probably the easiest.
Yes, you could do this by injecting JS and manipulate the <input> or by writing a custom module that modifies the value. Do you need further advice on that?
doublesecretagency/craft-cpjs
. Then target your field and change its value on load using JavaScript. Not the cleanest, but probably the easiest.<input>
or by writing a custom module that modifies the value. Do you need further advice on that?