/
Controlling the Balance Output Using Page Extensions
Controlling the Balance Output Using Page Extensions
The following article outlines how to use Page Extensions to hide or modify the Balance value displayed on an account. This script works across the board, regardless of logged in user. It can also be adjusted to hide the ‘full balance’ or other fields as needed.
Hiding the Balance
Click on Setup
Click Page Extensions
Click the Add button
Enter the following information:
Name – any name you would like here
Page – / (the forward slash indicates that it should work on all pages)
Script – (see below)var balance = document.getElementById('balance'); if (balance!=null) { var row = balance.parentNode.parentNode; row.parentNode.removeChild(row); }
Click Save
Hiding the Balance if Futurebalance is Set
Click on Setup
Select the Page Extensions
Click the Add button
Enter the following information:
Name – any name you would like here
Page – / (the forward slash indicates that it should work on all pages)
Script – (see below)var balance = document.getElementById('balance'); var fullBalance = document.getElementById('futurebalance'); if (balance != null && fullBalance != null) { var row = balance.parentNode.parentNode; row.parentNode.removeChild(row); }
Click Save
, multiple selections available,
Related content
Writing Off an Account
Writing Off an Account
More like this
Account Page Details and Menus Overview
Account Page Details and Menus Overview
More like this
Controlling Date Entry Using Page Extensions
Controlling Date Entry Using Page Extensions
More like this
Account Status Types Screen
Account Status Types Screen
More like this
Account Credits Screen
Account Credits Screen
More like this
Role Group Example
Role Group Example
More like this