Re: Auto-update a field in edit mode from other field contents
Hi Eileen
I can do it by editing the EditView.html file directly, but that file gets overwritten by Studio
In which file did you put the javascript code? We've added js code to Contacts/EditView.html. A function and an onchange event handler for one of the custom input fields. Our custom js code retains in the file even if we move fields with Studio.
Do you know after what Studio actions your custom code gets removed?
Do you use Sugar 4.5? Did you add your custom code to custom/working/modules/Projects/EditView.html? If this file exists you would have to add your custom js code to this file, then go to Studio, select the EditView and (re-)Save and Publish the file. That's at least how it works here.
Cheers Pascal
Simplicity GmbH
Bookmarks