Dindar
Dindar

Reputation: 3245

Problem in using RequiredFieldValidator for validating FCKEditor

When i use RequiredFieldValidator for Validation FCKEditor , The first time that the form gonna submit , RequiredFieldValidator prompt (ErrorMessage) and indicate that FCKEditor is empty , while it isn't . Again if you try to submit the form , It's OK and there is no problem .At this case user have to hit the submit button twice

So i have to disable Client Side validation and validate form just in Server Side code which is not good . Any other solution?

Upvotes: 0

Views: 1418

Answers (1)

WVDominick
WVDominick

Reputation: 2074

If the RequiredFieldValidator isn't working for you then I suggest writing a little javascript to do the client-side validation. jQuery does this extremely well. There is a popular plugin that makes it a breeze: jQuery Validation plugin

Upvotes: 2

Related Questions