Related FAQ's

How to Setup Events

To set up a new event, visit www.officegx.com and follow these steps:

  1. 🔐 Log in to your OfficeGx account as an Administrator.
  2. ⚙️ In the left navigation panel, go to Administration.
  3. 🗂️ Click on Company > Events.
  4. ➕ Click Add New Event.
  5. 📝 Enter the Event Name.
  6. 🔄 Select the Event Type:
    • onblur
    • onchange
    • onfocus
    • onkeyup
  7. 💻 Enter the JavaScript code you want to execute for that event.
  8. 📌 You can add multiple events if needed.


🎯 Why Set Up Events?

Events let you control the behavior of custom fields in the Purchase and Sales modules using JavaScript triggers.


👥 Who Can Configure or Manage Events?

  • 🛠️ Only Admins can configure new events.
  • ✏️ Admins can edit events.
  • 🗑️ Events can be deleted only if they are not used in any custom field configuration.


⚠️ Important Notes

  • ❗ If an event is linked to a custom field, it cannot be deleted.
  • 🧩 Make sure the event is not referenced in any active config before attempting deletion.

📨 Need help? Contact support@officegx.com