Forum Discussion
AndrewDunn
10 years agoCommunity Member
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?
Nedim
2 years agoCommunity Member
We can also make this more efficient by creating global functions to avoid repeating code, and run this code only when the timeline starts on this slide.
Now we can call a function to disable the TEF under certain conditions:
window.disableInput(0); // 0,1,2,3...
Or call a function to enable the TEF under different conditions or when something else happens: window.enableInput(0); // 0,1,2,3...
Related Content
- 2 years ago