This is a migrated thread and some comments may be shown as answers.

Validate (Submit) on "Go" Key

2 Answers 80 Views
Validation
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 17 Sep 2014, 07:13 AM
Is there a way to validate (submit) on pressing the "Go" key of the iOS virtual keyboard? I tried hooking up to the submit event but it doesn't seem to work. Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Alexander Valchev
Telerik team
answered on 18 Sep 2014, 03:14 PM
Hi Jay,

If I understood correctly the problem is that the iOS "Go" button does not submit the form. I am not sure how your current HTML looks like but I found this forum thread which discusses a similar issue.
  • http://stackoverflow.com/questions/5665203/getting-iphone-go-button-to-submit-form

Do you have an input of type "submit" in the form?

Once the forum is submitted and the submit event is fired you may use the validate method of the Kendo Validator to validate the user input.
  • http://docs.telerik.com/kendo-ui/api/javascript/ui/validator#methods-validate

 

I hope this information will help.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jay
Top achievements
Rank 1
answered on 19 Jan 2015, 12:38 PM
You understood my problem perfectly! The Stack Overflow link was exactly what I needed. Thanks!
Tags
Validation
Asked by
Jay
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Jay
Top achievements
Rank 1
Share this question
or