iOS Data Form Validation errors

2 posts, 0 answers
  1. Ana
    Ana avatar
    4 posts
    Member since:
    Mar 2013

    Posted 12 Oct 2015 Link to this post



    I have issue to validate my dataForm on button click in iOS.

    For Android we have this method hasValidationErrors (see attached images). But I can't find anything similar for iOS. 

    Can you please advise if there is anything that could help me resolve this issue.


    Best regards,


  2. Jack
    Jack avatar
    2333 posts

    Posted 13 Oct 2015 Link to this post

    Hello Ana,

    In iOS you can use the Validate method of TKDataFormEntityDataSource class. This method can be accessed by using the NativeObject property when using TKDataFormEntityDataSourceHelper class. Consider the sample below:
    string[] errors = dataSource.NativeObject.Validate ();

    I hope this helps.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top