AnsweredAssumed Answered

Validation of a calculated field

Question asked by Stefano Mapelli on Nov 11, 2016
Latest reply on Nov 14, 2016 by Stefano Mapelli

Hi,

I use SugarCRM 7.6 pro and I want to validate a custom field of the contract module.

 

The field is calculated with this formula: related($accounts,"billing_address_city"), and it's required because I don't want that the related account address field is empty when the new contract is saved.

 

I try this but the calculated field is not validated. 

 

Why does this happen? I need to do this validation, but the contracts module has the old version of the Sugar interface and I can't find a guide that explain how to insert a validation of a field in javascript code for sugar 6.7.

 

Please help me. Thanks

 

Best regards

 

Stefano

Outcomes