Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Required Field validator in Page Layouts

$
0
0

Hi,

I have a Page Layout with few fields which are required , I want to use required field validators on them.

following is one of the TextFields in the Page Layout

<PageFieldTextField:TextField ID="TextField1" FieldName="Title" runat="server"></PageFieldTextField:TextField>

I tried using COntrolToValidate as "TextField1" in my Required Field Validator but that does not work.

if some body can help that would be great.

 

Viewing all articles
Browse latest Browse all 25064

Trending Articles