How can it be done before save or update a record make same calculations and pass them some fields

QuestionsHow can it be done before save or update a record make same calculations and pass them some fields
toki asked 10 years ago

Hello,

How can it be done before save or update record make same calculations and pass them some other fields which are not editable.

Regards…

2 Answers
Abu Ghufran answered 10 years ago

Hello,

You can do such calculations on on_update() callback function using php.
Non editable fields are not posted from clients.

Regards

Abu Ghufran answered 10 years ago

You can check editing/custom-events.php demo for more.

Your Answer

9 + 2 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?