<div dir="ltr">For the same scenario, for the required field on page load we store the values in a static cache/array/object. And then on presaveevent compare the form values with that in cache.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 4, 2018 at 6:14 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a custom "validation" function. This is an ajax routine.<br>
<br>
In Detail View (and Summary) I can stop the default event "PreAjaxSaveEvent", perform my checks and do what is necessary.<br>
<br>
In Edit View though I am struggling to determine if a field has had its value altered before the user clicks the save button. I can trap the event "Vtiger_Edit_Js.recordPresaveE<wbr>vent" OK but is there any way I can determine if a field's value has changed or not?<br>
<br>
TIA<br>
<br>
Al<br>
<br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>