Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confiforms - How to set value for User type fields?

Adamo G July 5, 2024

Hi, 

I am kind of new to Confiform and would like to know how (and if) it is possible to set value by Field Definition Rules for User Type fields.

I have a form for which there should be preset users added in specific fields, including User fields with 1 and User fields with 2 users to prepopulate.

I have tried to use "fieldname="lastname, firstname"" parameters as well as other combinations but haven't managed to get it to work.

Any help would be greatly appreciated! 

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
July 5, 2024

Hi @Adamo G 

You set a username (DC) or the account id (cloud), depending what type of Confluence you are using (DC or cloud)

Alex

Adamo G July 5, 2024

Hi, thank you for the response!

EDIT: I managed to get it working on a single user type field, by only including the fieldname, without ".username" and without the quotes around the value.

I ran into another issue. When doing the same with a multi select user type field, only the usernames are displayed, like it doesn't properly recognize the usernames. 

Alex Medved _ConfiForms_
Community Champion
July 5, 2024

Yes, you always have a field name on the "left side", and the value, that you want to put on the "right side"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events