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

Making field in Confiform Readonly

Hi,

 

I created a Confiform on confluence and am trying to make one of my fields readonly. The field, Response, is currently being used to display a result when other fields are populated. The problem is that users are able to select from the stored results which is not really good. 

2 answers

1 accepted

You can make the field hidden, you can choose the type as read-only... you can set edit/view permissions on the field, so certain user groups can only modify or view the field

Pick the option what fits best your requirements!

is it possible to save readonly values in the form?

No, readonly values are not submitted.. what do you want to save there?

The value is READONLY... Logically, there is nothing to save

readonly value, which was received from webservice :)

Are you talking about "readonly" field type? 

And I am still unsure why you want to save something into a "read-only" field... which is by it's name tells that the value it stores is a read-only

 

May be you need to choose some other field type for this?

Well, even if it's read-only, you never know how it was generated. E.g. if there was a form which generates the value depending on the selection in other fields and it would be read-only for user and needs to be saved.

We found another way to save the value, but it is just strange why all fields in the form can't be saved.

It depends what do you mean by "read-only" - is it set via the (field definition) rule to be read-only or is it the field of type "read-only".

2 different things - one is the way to explicitly set the field to be read-only and not saved via the submit, while another is a read-only field that can be updated via IFTTT rules or via "set-value" field definitions and it gets submitted

Hi,

So, how it should work in general? My example:

I have empty "Text" field. There is one rule, which sets value to this empty field depending on value from other field. Second rule checks when this "Text" field becomes not empty and sets field read-only to preserve value. When entry is created, "Text" field value is not saved.

Hi,

So, how it should work in general? My example:

I have empty "Text" field. There is one rule, which sets value to this empty field depending on value from other field. Second rule checks when this "Text" field becomes not empty and sets field read-only to preserve value. When entry is created, "Text" field value is not saved.

Use "Readonly" field type for your "dependent" field, instead of setting it read-only via ConfiForms Field Definition Rule

Like Marius Laukaitis likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

🥓🙅🏻‍♀️ Meet-less May Badge!

Hello Confluence Community!  What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. We la...

178 views 2 13
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