1. Home
  2. Docs
  3. Modules & Plugins
  4. WHMCS
  5. WHMCS Nextcloud Provision...
  6. Configurable Options and ...
  7. Get all Custom Field ID’s

Get all Custom Field ID’s

We’ve included a hook that allows you to simply list all Custom Field ID’s needed for the username validation hook. Please follow the instructions below to get those id’s.

  1. Make sure Module Log is enabled since this is the place the output will be located.
  2. Now manually execute the cron job or wait until it has been run automatically.
  3. Reload the Module Log and check if a new entry has apeared. It should be in the JSON format.
  4. Copy the content from the Response to this website: https://jsonformatter.curiousconcept.com/
  5. Now lookup all the custom field id’s for which the Username Validation Hook should operate.
  6. Save those numbers to the $customFieldID array in the Username Validation Hook.
  7. Make sure to disable Module Log or it will fill very quickly.

The username validation should now work for the selected Custom Fields. Please don’t hesitate to contact our support team if you have any questions or problems.

How can we help?