Generate UUID value in ConfiForms

Rauzan Fikri April 4, 2023

Hi @Alex Medved _ConfiForms_ 

There's any solution to create an random UUID and set the value into hidden field?

 

1 answer

1 accepted

1 vote
Answer accepted
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2023

Hi @Rauzan Fikri and welcome to this community

Each record in ConfiForms has a unique identifier in the "id" field. You can try to use that - why do you need an extra field for that?

Alex

Rauzan Fikri April 4, 2023

Because I have 4 fields in the same form that need to set the unique identity (UUID value)

something like this.

id, field 1, field 2, field 3, field 4, uuid field 1, uuid field 2, uuid filed 3, uuid field 4

Rauzan Fikri April 4, 2023

Hi @Alex Medved _ConfiForms_ 

 

Any Suggestions?

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2023

At the moment ConfiForms does not have a function to generate a unique value on demand - you can try the randomInt from https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions

And of course, we can implement a function that will help with generating the UUIDs on demand in later versions of the plugin

Alex

Rauzan Fikri April 6, 2023

Ouhh Okay Alex Thanks.

For now we are serve the UUID from other form where the UUID is has uploaded by excel.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events