New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Form Destination - Requester - Allow insert an e-mail from a Anonymous Users #475
Comments
Hi Use the field type Actor. In the target ticket, add a requester from an actor question. The anonymous requester should add his own email adress in the field to appear in requesters. This feature is available from 2.4.0. I would like to hear feedbacks about this new feature. |
Hi, Thanks for the answer !! I changed the field e-mail to Actor on form, but now, when I put the e-mail address on this field he try to search the e-mail and don't find any e-mail even the e-mails that already registered on GLPI Users and the same to e-mails from anonymous users (That aren't registered on GLPI DB). When I move to another field the E-mail (Actor) field back to blank. So I can't insert e-mail address on this field. |
Ok, I'm trying to Hit Enter and Tab but the field isn't filled. He back to blank |
My GLPI version is 9.1.1 |
If 3 different browsers are imapcrted, I assume this is browser independant. Pick your preferred, and check its developers tools for any JS error while typing something in the field. Check also :
It should run from GLPI 0.90.x to 9.1.2. |
Is it possible that the Actor is automatically user who is requester, or user who is logged on system? |
@gotanbl : yes of course ! Just have a look on the default actors when you create a new target ticket There is the form requester in ... the requesters :) . However, it is impossible to determine who is the requester if the form is used anonymously. That's why @Gambware needs the requester fill his own email address. |
I checked all logs (php and sql) but nothing related with the form is logging. |
Hi Your idea makes sense. I'll investigate in this direction. |
@btry : I know for that. Another question: Is it possible to use Form requester in Ticket title as Macro like Answers and Question. (##Form requester##). |
@gotanbl : Currently, there is nothing to put the requester in the title of a ticket. You should request this feature by creating a new ticket. |
Hello @btry, The same for me as for @Gambware, who writes : "Also I notice that the form works perfectly when you are logged on GLPI, but when you open the form without login on glpi the field Actor not work properly he just show "Searching" and dont allow you put any information because when you write a text and hit enter or tab the field backs to blank". |
This is normal : when you are not authenticated, you are not granted to read anything in the database, and showing available entries requires to read data from users. The incoming version 2.7.0 will no longer allow to add such fields to anonymous forms. Existing forms will not be modified by the upgrade process. It is up to the form designer to determine how to modify his forms. |
Thank you very much @btry for your quick answer :-) :-) :-) |
This is not the purpose of this change. So I created a fix to allow use of the email field instead. This is not as powerful as actors field because email field allows only one email address. If needed, set several fields. See this patch #1266 . I think that the other issue you pointed may be closed with this patch. |
Thank you very very much @btry for such detailled explanations. We managed to let it work :-) |
Great, Then I close. The feature is ready for 2.7.0 |
In my organization, we allow tickets are open by e-mail from anonymous users. (filtering the email domains in Email Collector Rules)
So, when we created Public forms to allow that the users open their tickets on GLPI, the tickets are opened without a requester and the form doesn't have the option to select Ex. e-mail field on the form to be placed as Requester.
The text was updated successfully, but these errors were encountered: