If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Hi,
Formula runs on the Back-end side of code. You need to specify such logic via Front-end side with javascript by developing your own view for the desired field.
This might be helpful https://docs.espocrm.com/development/custom-views/.
As Maximus correctly points out, formula is a back end facility, essentially a user friendly way to create "before save" hooks through the GUI without having to write PHP code.
Another possible way to accomplish what you want is to use the dynamic handler class.
Even though the class objective is described mainly as a superior way to manipulate form elements, it can easily be adapted to perform complex data operations.
Comment