Take guest emails
Posted
#5120
(In Topic #1035)
Ticket system
I'm trying to locate the setting to require guest emails during ticket creation. I remember seeing it, but searching the Adminzone didn't yield any results.Right now it's marked as "optional" on the ticket page but if they're a guest, it would be silly not to take their email – otherwise I have no way to contact them!
Posted
Posted
Chris Graham said
Look on the edit ticket type form, of each ticket type.
From “Digest emails”, 28th Sep 2019
Got it. But, I think there may be a bug somewhere. Though all my ticket types require guest emails, it always shows (optional) on the support ticket screen. Looking at the code in COMMENTS_POSTING_FORM, {EMAIL_OPTIONAL} always returns 1 regardless of the "Guest e-mail addresses mandatory" setting.
The actual functionality of REQUIRING the guests email address works - I get an error after submission if I don't supply an email address. It's just that the ticket screen is showing it as optional so there's something up with {EMAIL_OPTIONAL}.
Posted
Make the change to tickets.php as shown in this commit:
https://github.com/ocproducts/composr/commit/d0bee2500e2f7fd53584452dcfeecdb07b7cd5fa
I changed the text for the option in the admin UI, too, but ignore that change (I actually further tweaked it in my next commit based on what I confirmed you discovered).
In the ideal world the UI text would update as the ticket type selection is changed, but that'd require too much work at this point.
3 guests and 0 members have recently viewed this.
