justinmind-logo
 
Upvote 1

Moving focus to the submit button at the end of an input form

Answered Victor Conesa 8 years ago

Hi,


I am a beginner and have a question. I am building an input form that ends with a submit button. Now i can through all the input fields, but when i try to move focus from the last input field to the submit button i get an error message telling me that this only applies to input forms...


How can i move focus to the submit button?

Replies (4)
photo
1

Hi Pascal,


Focusing events are only thought to be used with Input fields.


To activate a button, you can, for example, create a 'on click' event.


Best,


Lidia

photo
1

Hi Linda,


Thanks for your reply.


I do not think i understand you. If i click on a submit button i would expect that it submits the data in the input form. If i on the last input field i expect the focus to shift to the submit button.


It sounds like that this basic interaction is not available?!

photo
1

Oeps it is Lidia... Sorry ;-)

photo
1

This example might be helpful: http://www.justinmind.com/support/mul...


This is how a basic submit button should work. In order to submit the data, you should create a 'Set value' event that will store the input data to a variable, another field, etc.

Leave a Comment
 
Attach a file