joer80 Posted February 19, 2016 Share Posted February 19, 2016 I have a RetailPrice field, a SalePrice field, and an AmountDiscounted field. I want to lock the AmountDiscounted field, and anytime the RetailPrice or Sale Price is updated, it calculates the differernce and sets the AmountDiscounted field. What is the best way to do that? Link to comment Share on other sites More sharing options...
LostKobrakai Posted February 19, 2016 Share Posted February 19, 2016 The simplest way would be locking the AmountDiscounted field in the backend and hook to Pages::saveReady and set the value accordingly on each save. 4 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now