Hi,
i am totally new to use grocerycrud, so i want to know that how do i calculate the salary and autometic display in total textbox,how do i do that.here is my code
⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠
Posted 16 May 2017 - 06:14 AM
Hi,
i am totally new to use grocerycrud, so i want to know that how do i calculate the salary and autometic display in total textbox,how do i do that.here is my code
Posted 16 May 2017 - 12:10 PM
Well my friend u need to hook a javascript to the crud - the same can be achieved by using set_js function.
With the same - u can add a js file where what u need to do is hook to the on_blur event or on_change event of the field boxes and sum up the same and update the total field.
Happy GCing :)