ShahiAssist

How to Use and Manage Custom Fields

Adding Custom Fields

  1. Navigate to ShahiAssist → Settings → Tickets or Knowledge Base.
  2. Scroll to the Custom Fields section.
  3. Click Add New Field.
  4. Configure:
  5. Label: Display name (e.g., “Product Version”).
    Type: Text, Textarea, Select, Checkbox, Radio.
    Options: For select/radio, list choices.
    Required: Check to make mandatory.
    Help Text: Tooltip or instructions.

  6. Save settings.
  7. Fields appear on ticket/KB forms automatically.

    Required Fields

    • In the field settings, toggle “Required” on.
    • Users must fill required fields before submitting.
    • Validation prevents submission if missing.
    • Programmatic Custom Fields

      For developers:

    • Use addfilter('shahiassistcustomfields', 'mycustomfields');
    • Function returns array of field definitions.
    • Example:
    • `php
      function mycustomfields($fields) {
      $fields[] = [
      ‘label’ => ‘Custom Field’,
      ‘type’ => ‘text’,
      ‘required’ => true,
      ];
      return $fields;
      }
      `

    • See Advanced Configuration for more.

Share this article

Was this article helpful?

Help us improve our documentation

Still need help?

Our support team is ready to assist you with personalized guidance for your workspace.

Submit a support ticket