Javascript to update contact entity
<p>I have two fields in contact entity named Last Appointment Date and Next Appointment Date.
I want to populate this field with values from the appointment entity when new appointment is created.
When i create an appointment i will select a contact name the related contact should be update with the values in the appointment fields.
can any one help??</p>
