Keyboard remains visible
Posted: Wed Mar 01, 2023 10:19 am
Good morning,
In a mobile app, I need that depending on the user profile, all fields of a given card are editable or not. In order to make these fields not editable when closing this card (and possibly allow modifications only when it will be reopened), I have included something like this in the closeCard script:
I thought that this would be enough to hide the keyboard on closing the card. However I find that when some fields of this card have been edited and the user is going to another card (which does not include any editable field), the keyboard remains visible.
How is this possible, and how to obtain that the keyboard disappears when going to another card ?
Thanks for any assistance !
In a mobile app, I need that depending on the user profile, all fields of a given card are editable or not. In order to make these fields not editable when closing this card (and possibly allow modifications only when it will be reopened), I have included something like this in the closeCard script:
Code: Select all
repeat with i=1 to the number of fields of this cd
set the lockText of fld i to true
set the traversalOn of fld i to false
end repeat
How is this possible, and how to obtain that the keyboard disappears when going to another card ?
Thanks for any assistance !