Add current date automatically on field in crm webui
I am new in crm ui and I was wondering how can I fill automatically with the current date a field when load for the first time the page?
I already create the field and I use a data element type Dats, so I have the standar search help in the field, but I have the following doubts:
1) if the user can select another date and I need to compare if the date selected is the current date and if it is the current date disable the field
I was wondering in what method the validation should be: in get_p, get_m, get_, set_ I would be thankful you could give an example in source code.
I appreciate your help
thanks in advance John