• How to addValidationTasks to all places where you can edit data

    There is a nice write-up for using addValidateTasks https://support.sugarcrm.com/documentation/sugar_developer/sugar_developer_guide_14.0/cookbook/adding_field_validation_to_the_record_view/ . However, as Sugar evolves there are more and more places…
  • Manual licence validation on Upgrade

    Hey everybody, just wanted to raise the question if there is a possibility to skip the auto licence validation on upgrading a instance. At the moment i'm manually updating our licences in admin space because the connection is blocked for autovalidation…
  • How do you add a ValidationTask

    There are instructions on how to add a ValidationTask to a Record and Create view. However, users are not accessing the Record/Create view, and instead, they are changing the value in a Subpanel, ListView, and MassUpdate. How do you attach the validation…
  • Custom Error Messages are Not Working | Field Validation

    Hi all. I'm creating a piece of code which stops users saving the Opportunity record when there are no contacts linked to it. I've gotten all the way to the end and have the code working, however I cannot get the custom error to work. I've seen an older…
  • Sugar 7 - CreateView field logic breaking form

    Hello. I use Sugar Enterprise 7.7. Only recently I got form validation on page load to work. But there is a problem: the validation I done actually changes the field value by changing it's model value, but it's giving a javascript error, blocking the…
  • Sugar 7 - CreateView not working

    Hello. I'm using Sugar Enterprise 7.5 for production system, and 7.7 for test system. I need to change a datetime module field value in the page as soon as the page is loaded. It's for a custom module. The first solution was to use "calculated fields…
  • Custom Validation

    Hello, I want to add validation for name field in Account module. Does anyone have any code reference or hint ?