Welcome Guest Search | Active Topics | Members | Log In | Register

Data Entry, Validation and Custom Controls Options
joe
Posted: Friday, August 14, 2009 5:31:14 AM

Rank: ME Staff

Joined: 1/12/2009
Posts: 261
Points: 354
Location: VA
There are a couple new exercises in the documentation that are two parts to a single application. The first part covers creating a data entry application with some simple validation. The second exercise takes you through building a custom calendar control to use as a mobile datepicker.

Part 1: Mobile Data Entry and Validation
Part 2: Creating and Using a Custom Control - Calendar DatePicker
tamjid.aijazi
Posted: Monday, May 02, 2011 9:13:31 AM

Rank: Member

Joined: 4/29/2011
Posts: 3
Points: 9
Location: Karachi
Joe,

We are building an application that has around 7 forms. We need to implement data validation for required fields. We followed the same methodology as defined in your exercise.

However, the people picker field and calendar date time control field do not retain values with function: output.LoadFormData(EntreeScope); What is the solution for that?

On the other hand, the for validation of required fields, we need to write custom validation code for each required control. Is there a property that can make a control a required field in the form?

eg. Control.Required = true;

Thanks.

Ahmed Tamjid Aijazi
Snr. SharePoint Consultant
InfoStrata Solutions Ltd.

Blog: http://tamjid.aijazi.com
Twitter: @tamjidaijazi
joe
Posted: Tuesday, May 03, 2011 8:36:16 AM

Rank: ME Staff

Joined: 1/12/2009
Posts: 261
Points: 354
Location: VA
Hi Ahmed,

Currently there is no client-side validation that you can control from server-side properties. So the best solution right now is to do the validation check as described in the exercise.

I will have to talk with our engineers about the best way set the people-picker and calendar controls after validation occurs.

-joe
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.