Skip to content
Discussion options

You must be logged in to vote

Hi @belginunal, to do this I think you'd need a function that is called whenever the textbox focus changes from being in focus (i.e. currently accepting input) to not being in focus anymore. You can do this by adding a onblur event listener to all of the text boxes. In that function, you can disable the textbox so that the input can't be changed anymore. This page also has a nice example of the onfocus and onblur events.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@belginunal
Comment options

@becky-gilbert
Comment options

@belginunal
Comment options

Answer selected by belginunal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants