How do i apply formula from front end to fetch the data on condition.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sujithraalink
    Member
    • Oct 2018
    • 94

    How do i apply formula from front end to fetch the data on condition.

    I have Student, course and subject entities. when i choose course there should be a list of subjects based on the course. Here shows all the subjects, How do i apply formula from front end.
    Help me please.
  • telecastg
    Active Community Member
    • Jun 2018
    • 907

    #2
    Formula is a back end facility, it is like a "beforeSave" hook, you can not apply it from front end unless you use Ajax.

    To learn how this is done see client/src/views/list.js function massActionRecalculateFormula. For what you are trying to do check this posting:

    https://forum.espocrm.com/forum/deve...pendent-fields
    Last edited by telecastg; 07-25-2019, 04:39 AM.

    Comment

    Working...