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 2020-09-08 08:34:56

peetz
Member
From: Germany
Registered: 2008-10-27
Posts: 12

Formcreator Data Fields

Hello,

i'm searching for a solution for the following problem.

We have created custom forms with formcreator, that's works very good.

But now we have the problem that we have to fill fields (build with fields plugin), with data from the form.

Is there a solution? Thanks a lot.

kind regards, Stephan.

Last edited by peetz (2020-09-08 09:32:18)

Offline

#2 2020-09-08 10:41:50

btry
Moderator
Registered: 2015-10-01
Posts: 591

Re: Formcreator Data Fields

Hi

For now Formcreator is not able to fill data for the Fields plugin. The plugin is designed to fill tickets or changes. If you have additional fields on these objects, the plugin needs a development.


No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!

Offline

#3 2020-09-08 10:46:19

peetz
Member
From: Germany
Registered: 2008-10-27
Posts: 12

Re: Formcreator Data Fields

Thanks for the fast answer. I will try it now with sql trigger.

Offline

#4 2023-04-13 15:42:59

YannD45
Member
From: France
Registered: 2019-02-01
Posts: 35

Re: Formcreator Data Fields

Hello,

You know what ? It work's now !
I could not believed it, as I couldn't find ANY information about that.
But I tried, and it worked : in the formcreator plugin, you can now find fields from the "fields" plugin.
You just need to choose "Additionnal fields" in the "Type" field of your "Question".

I really wonder if that works :
   - by ""chance"", I mean just because of the (genious ?) GLPI design (which can allows to create field in a plugin, considered as "real" in other plugin)
   - by formcreator design (which would have been adapted to use fields from "fields" plugin)
Any idea ?

Anyway, that's a great feature : using thoose 2 plugins together offers MANY new possibilities.

Yann Deydier

Last edited by YannD45 (2023-04-13 15:43:15)

Offline

#5 2023-04-13 17:43:47

btry
Moderator
Registered: 2015-10-01
Posts: 591

Re: Formcreator Data Fields

Hi

This works because the plugin has been enhanced last year to support Fields plugin.

I think it has not been documented yet in the user's manual of Formcreator.


No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!

Offline

#6 2023-04-13 22:47:43

Infinium
Member
Registered: 2023-04-13
Posts: 5

Re: Formcreator Data Fields

Hello all!
In the settings of Formcreator when choosing name of Additional Fields i see an empty drop-down list.

I created three test additional fields: in the ticket, in the computer and in the device. None of the fields are selected.

I need our help.

Version GLPI: 10.0.5
Versions these plugins: actual on this date.

Offline

#7 2023-04-14 07:54:40

btry
Moderator
Registered: 2015-10-01
Posts: 591

Re: Formcreator Data Fields

Hi Infinitum

This is normal. Formcreator cannot handle fields for objects other than tickets.


No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!

Offline

#8 2023-04-14 10:45:37

YannD45
Member
From: France
Registered: 2019-02-01
Posts: 35

Re: Formcreator Data Fields

Infinium wrote:

Hello all!
In the settings of Formcreator when choosing name of Additional Fields i see an empty drop-down list.

I created three test additional fields: in the ticket, in the computer and in the device. None of the fields are selected.

I need our help.

Version GLPI: 10.0.5
Versions these plugins: actual on this date.

It should...
At least for tickets.
Check if the new field is active, and appears in your "normal" ticket view.
I've got :
- GLPI 10.0.5
- FormCreator 2.13.3
- fields 1.20.2

Offline

#9 2023-04-14 10:46:34

YannD45
Member
From: France
Registered: 2019-02-01
Posts: 35

Re: Formcreator Data Fields

BTW "btry", thanks for your quick comments

Offline

#10 2023-04-15 19:32:02

Infinium
Member
Registered: 2023-04-13
Posts: 5

Re: Formcreator Data Fields

Thank`s all!

Offline

#11 2023-09-20 14:27:11

fledorze
Member
Registered: 2007-07-03
Posts: 69

Re: Formcreator Data Fields

On my side, I have :
GLPI 10.0.7
Form Creator 2.13.7
Additional Fields 1.21.4
I'm testing with an Additional Dropdown Field

But it does not work, see below :

The Additional Dropdown Field can be configured in a Form question.
It is possible to choose its default value from the list of the dropdown values, like any dropdowns
The additional dropdown is usable in ticket
But when the form is used, the Additional Dropdown is not filled in the ticket.
The answer of the question appears in the ticket description.

It works fine when additional field is a text.

Is it normal ? what may be wrong in my form configuration ? additionnal dropdown ?
Thx


GLPI 10.0.6 with GLPI Inventory 1.1.0 on Debian bullseye

Offline

#12 2023-10-11 10:19:48

fledorze
Member
Registered: 2007-07-03
Posts: 69

Re: Formcreator Data Fields

Any idea concerning my issue ?


GLPI 10.0.6 with GLPI Inventory 1.1.0 on Debian bullseye

Offline

#13 2023-10-30 15:24:22

fledorze
Member
Registered: 2007-07-03
Posts: 69

Re: Formcreator Data Fields

My error was to configure question with the Dropdown > additional_field_name , instead of Additional Field > additional_field_name
Its working fine then.


GLPI 10.0.6 with GLPI Inventory 1.1.0 on Debian bullseye

Offline

Board footer

Powered by FluxBB