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

iPad Kendo Validation

2 Answers 77 Views
Validation
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
Joshua asked on 22 May 2012, 06:16 PM
We are trying to use custom validation on our site.

We have some basic "required" fields. setup as so:
<div id="divOrderConfirmation" class="container">
                            <input type="checkbox" name="chkReadTerms" id="chkReadTerms" required="required"
                                validationmessage="Please read the terms and conditions" />
</div>


Then we create a validator and call validate like so:
var valConfirmation = $("#divOrderConfirmation").kendoValidator().data("kendoValidator");
if (!validator.validate()) {alert('Yoinks');}

When we try to access this simple page it goes crazy with any iPad or iPhone. Has anyone else had problems?

http://aligntoday.com//sales/register.aspx 

http://jsfiddle.net/grippstick/KHfMb/ 

2 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 25 May 2012, 09:07 AM
Hello Joshua,

 
I have answered  to the support ticket opened on the same matter. Here is quote of the answer:

Thank you for contacting us. I have tested the provided live url, but I was not able to open the latest part, where the custom validator is used. There are no JavaScript errors. Hence I am not exactly sure where could be the problem. The provided jsFiddle demo is empty. Is it possible to provide a simple test page/project which replicates the issue. Thus I will be able to observe the problem locally and advice you further. 

All the best,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 25 May 2012, 03:12 PM
I don't know how the fiddle ended up empty. My apologies. I have re-added my code. It is extremely hard to use with android/iphone so i don't know how much help it will be. 
http://jsfiddle.net/grippstick/KAPDL/ 

To facilitate, I have uploaded the broken version to my live site. I had to remove validation, because it was stopping us from registering users. Something else i noticed. Beyond validation, using the tab control is problematic on mobile devices. The div in side of the tab will move when you try to scroll and not the entire page. This is observable at the following link:http://aligntoday.com/sales/registerBadMobile.aspx  
Tags
Validation
Asked by
Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Georgi Krustev
Telerik team
Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
Share this question
or