Forum Discussion
Disabling a text entry field
I have a page with text entry fields. I want to disable / enable fields depending on the value of a variable. Is it possible to enable/disable text entry fields?
37 Replies
Hi Mischka,
Thank you for the additional information along with your questions. You're correct, the layers approach would require many steps for each text entry.
I'm opening a support case on your behalf specific to the shape not covering your text entry when in a scrolling panel so that one of our support engineers can take a closer look at this. You should be hearing from someone soon.
In the meantime, I look forward to seeing other design ideas from the community.
- MischkaZelde754Community Member
Hi Leslie,
Thank you for submitting the support case for me! I'm working with a support engineer to identify the cause of the issue.
- JosephBaiocc082Community Member
I've been seeing questions over 6 years old asking about how to hide a text entry box. In what release will that functionality be included?
Just asking because I'm creating a cryptogram puzzle and covering and uncovering text entry boxes is tedious work that could be solved with a hidden/normal state.
- MariaCSStaff
Hi, Joseph.
Thank you for reaching out! While I don't have any news to share on the ability to hide a text entry field, I wanted to share the article below that explains how those requests are managed:
I hope this helps!
- AustruyAurore-fCommunity Member
Hi, we've found a solution, this is not perfect but it works.
You can put your text entry field on a layer, and hide the layer when you need the texte entry field to disapear.
I hope it can help you!
- GriffingriffindCommunity Member
I would like to second a request to disable text entry fields. I'm having the same issue as Mischka where despite having a fully opaque object over text entry fields, when they're in a scroll panel (or a group) you can still click them even though they're hidden. That seems like a bug to me, but it would also be nice to disable them entirely through a state.
- RickBarrettCommunity Member
I'm having the same issue. Not just a fully opaque object, but even an image covering a text entry field won't work. The user can still click through whatever object is present into the text entry field. This is making it impossible for us to create drop-down menus in a scroll panel since building a menu system as layers doesn't work in a scroll panel. This bug and the inability to allow data entry fields to go into an hidden state is effectively ruining our project.
- AustruyAurore-fCommunity Member
Hi Rick!
I have a solution :
Hi, we've found a solution, this is not perfect but it works.
You can put your text entry field on a layer, and hide the layer when you need the texte entry field to disapear.
I hope it can help you!
- RickBarrettCommunity Member
Thank you for your suggestion, but unfortunately this technique doesn't work when building a drop-down menu system that's embedded within a scroll panel. The layers are unable to track the location of the object within the scroll panel ... a layer simply shows up on top of whatever the existing content is.
- MarianaEscrzagaCommunity Member
I'm having the same issue, it would be great if you could add new features (like states on those variables) on the 64 version to fix this :)
- GriffingriffindCommunity Member
Bumping this thread to add another reason for disabling text entry fields:
When reviewing a quiz question, a user can still tab through the focus order and change their answer, even with an object blocking the fields. Then when they return to the results slide it will mark that question as correct. - NedimCommunity Member
You can disable a text entry field at any time with just a few lines of JavaScript. Share your scenario or setup, and we'll make it work if feasible.
- GriffingriffindCommunity Member
I can't share the specific file since it contains proprietary information but would you be able to share the lines of Javascript that are needed?
Related Content
- 2 years ago