Forums

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

Is there a way to Check if a Confiform USER field is empty?

Rayman Bacchus
Contributor
November 3, 2022

 

Capture.PNG

I want to show another field only IF the Approver field (which is a User field) is populated

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
November 3, 2022

Hi @Rayman Bacchus and welcome to this community

This is a correct way of checking the field for "empty value"

Is there something what is not working for you here?

Alex

Rayman Bacchus
Contributor
November 3, 2022

This actually did work.  For some reason it does not work if the user is not a valid user.  I was hoping it would, but the solution is working for me!

 

Thanks

Alex Medved _ConfiForms_
Community Champion
November 3, 2022

What do you mean by the "valid user"?

If you put some arbitrary text into a user field then the field (value) is still empty

As it is not a text field.. but the user picker field (and the user needs to be selected from the offered choices)

Rayman Bacchus
Contributor
November 19, 2022

What I meant as Valid user is a user that had access to our Confluence space.  Basically, I cannot have John Doe entered into the User field if John Doe is not a registered Confluence user.

 

Thank you for the support on this as well

Alex Medved _ConfiForms_
Community Champion
November 19, 2022

And you will not be able to enter the “John Doe” into a user field. 
ConfiForms will not save this into the dataset, as the value is illegal

If you want to verify user permissions then it’s another story. Also possible with help of some virtual functions ConfiForms has to offer

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events