You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-08-19 15:05:04

jamesglpi
Member
Registered: 2024-06-24
Posts: 3

Forms and Ticket Request

Hi, I use Form creator to create custom requests for our users for common issue that include field requirments that forces them for example to select a relevant asset from a dropdown depending on the entity to which the user is assosciated with. This works great.

However what I want to do is have the 'Create a Ticket' option then link into the forms. Is there a way to do this. I havent been able to find anything to date.

For example, currently despite having a wide range of form options a user can still just create a ticket and completely ignore the form options.

Thanks

Offline

#2 2024-08-19 16:54:47

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,288

Re: Forms and Ticket Request

i'm not sure i understand your needs :
do you want that tickets are  created exclusively using forms ?

then give users a simplified interface profile;
and set administration> entities> [myEntity]>forms tab>assitance mode=simplified service catalog.


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#3 2024-08-22 11:10:14

jamesglpi
Member
Registered: 2024-06-24
Posts: 3

Re: Forms and Ticket Request

Thank you for your response and essentially yes that is what I am trying to do.

When I go to administration> entities> [myEntity]>forms tab the page does not load.

The following is logged in php-errors log.

[2024-08-21 15:05:29] glpiphplog.WARNING:   *** PHP Warning (2): Undefined array key -2 in E:\Program Files\GLPI\glpi\plugins\formcreator\inc\entityconfig.class.php at line 399
  Backtrace :
  plugins\formcreator\inc\entityconfig.class.php:172 PluginFormcreatorEntityconfig->showFormForEntity()
  src\CommonGLPI.php:694                             PluginFormcreatorEntityconfig::displayTabContentForItem()
  ajax\common.tabs.php:120                           CommonGLPI::displayStandardTab()
 
[2024-08-21 15:05:29] glpiphplog.NOTICE:   *** PHP Deprecated function (8192): trim(): Passing null to parameter #1 ($string) of type string is deprecated in E:\Program Files\GLPI\glpi\src\Entity.php at line 3938
  Backtrace :
  src\Entity.php:3938                                trim()
  plugins\formcreator\inc\entityconfig.class.php:399 Entity::inheritedValue()
  plugins\formcreator\inc\entityconfig.class.php:172 PluginFormcreatorEntityconfig->showFormForEntity()
  src\CommonGLPI.php:694                             PluginFormcreatorEntityconfig::displayTabContentForItem()
  ajax\common.tabs.php:120                           CommonGLPI::displayStandardTab()

I think I have ruled out the second part as being the issue but I cannot work out in the codde is failing to define an array key as per the first part.

Any help much appreciated.

Thanks

Offline

Board footer

Powered by FluxBB