Editor: How to set field default value on server side?
Editor: How to set field default value on server side?
debug
Posts: 1Questions: 1Answers: 0
I have a datetime field named 'CreateOn', which is the date and time for the record created.
It would have risk to set the field value on client side, so I want to set the value on server side.
Tried initial the field in constructor function of the class, but it doesn't work.
What's the best practice to achieve this? thanks in advance.
This discussion has been closed.
Answers
Hi @debug ,
Take a look at the final section on this page here - there's an example to do just that.
Cheers,
Colin