View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003442 | Composr | tickets | public | 2017-12-03 20:55 | 2017-12-03 22:13 |
Reporter | Joe | Assigned To | |||
Severity | Feature-request | ||||
Status | non-assigned | Resolution | open | ||
Product Version | |||||
Fixed in Version | |||||
Summary | 0003442: Add custom sub-fields to ticket types | ||||
Description | When a user selects a ticket type, have additional fields appear, if configured, to require additional information from the user. An example would be: User is requesting an email address... User opens ticket, chooses "request email" as ticket type, Once ticket type has been selected, an additional field appears asking the user what they wish their email address to be. | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | 16 | ||||
Sponsorship open | |||||
|
I'll leave this open, however it is currently possible with a small amount of code using the Decision Tree system, which can sit in front of tickets. See our contact page code for an example: https://github.com/ocproducts/composr/blob/master/pages/minimodules_custom/contact.php ~ 95% of that file is just defining the settings for our contact tree. The core code pattern in a minimodule is just... <?php $decision_tree = array( ... ); require_code('decision_tree'); $ob = new DecisionTree($decision_tree); $tpl = $ob->run(); $tpl->evaluate_echo(); |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-12-03 20:55 | Joe | New Issue | |
2017-12-03 22:11 | Chris Graham | Time estimation (hours) | => 16 |
2017-12-03 22:13 | Chris Graham | Note Added: 0005288 | |
2017-12-03 22:13 | Chris Graham | Note Edited: 0005288 | View Revisions |