Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confiforms set default value in dropdown field which users may not edit

Probably an easy one for the experts: 

I have a dropdown field with status (open, in progress, done). This field may only be edited by a small group of users. When any user adds a new dataset in the form, the status should always be "open" at first. 

I tried to realize this with Rules for Field Definition where I set 

condition = status:[empty]
action to execute = Set value 
Values to set = status=open 

But this does not work when a user is adding a dataset who is not in the specified group... 

Thanks for any help

 

1 answer

1 accepted

1 vote
Answer accepted

Solved: This was easier than I thought, the default value is not just set by the registration control macro. 

If the default value is not just (read: only) set by the registration control, what other field must be set?

Also curious on what else you needed to set @jan 

Hi guys, 

What are your questions specifically? I understand what Jan wanted and did, but I cannot understand your questions (from Jan's question context)

Thanks

Alex

Hey @Alex Medved _ConfiForms_ 

I just faced a similar problem. But I want to set the default value of the status dropdown based on a condition.
Lets say there is another dropdown field with options ONE and TWO, I want the Status dropdown to default to Open only if the User selects TWO in the previous dropdown. If the user selects ONE, the Status dropdown stays empty.

I tried two ways of doing this -

  • Using the "Set Values" parameter in the "Registration Controls" macro but I cant figure out how to implement a conditional statement here.
  • Using the "Set Values" action in the "Rules for Field Definition" macro but the condition seems to not work for Dropdowns. I tested the condition with a text field and it worked just fine. Is there a specific way (using IDs?) to set conditions for Dropdowns? Attaching the Status field screenshot - VMO is the status Dropdown field who's value I want to set to One based on the previous dropdown.Set Values.jpg

Of course it works for the dropdowns and for any type of field

But conditions (filters in ConfiForms) operate with internal values, same goes for "setting the values"

Is "One" is the ID of the option for your VMO dropdown or a label?

Alex

Ah, I assumed '=' meant label and ':' meant ID as the input parameter. 

Got it working. As always, thanks a ton Alex for your invaluable support.

Not quite, the '=' is used when you set the values

While the ':' is used in filtering - separating field name (or expression) from field value (or expression)

 

Hope it helps

Alex

Like davin likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

New cloud apps roundup - June 2021

Since our last roundup in April, Atlassian's Marketplace Partners have added over 100 new cloud apps to the Atlassian Marketplace to help your teams work more efficiently. Let’s take a quick look a...

355 views 5 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you