Question : Auto populate date field for Microsoft CRM 4.0

Is it possible to use the onChange event of a field to autopopulate a date in another field?

Something like...

new_revdateentered = Date()

Answer : Auto populate date field for Microsoft CRM 4.0

You need javascript like this:

crmForm.all.new_revdateentered.DataValue = new Date ();

This will set the field to the current date and time.
You can use standard Javascript date methods to set the actual date and/or time.
Random Solutions  
 
programming4us programming4us