Hi team,
Is possible to require the account profile on the level page only? I don't need the required in the object.
Thanks,
Like
2 comments
19:20 Jul 20, 2023
Hi,
Yes, you can try overriding the save method and require the column that represents the profile to be filled in. In the case with the example from Academy:
save: function() { if (!this.get("Account")) { Terrasoft.showErrorMessage("Account is required"); } else { this.callParent(arguments); } }
If account is not filled in (that is done by the account profile) the error message will be shown, otherwise saving will be successful.
20:08 Jul 20, 2023
Thanks Oleg. I was looking for something related to the module in specific. Anyway this workaround works
Show all comments