CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Required field indicator

Suggest new components/features

by rvenky20001 » 25 Jan 2013 06:45

Would be nice if the Required property of the data edit components is true then it will automatically put an start next to the field

Venkatesh
rvenky20001
 
Posts: 44
Joined: 20 Dec 2012 21:12

by Jorge Sousa » 25 Jan 2013 11:53

Hi rvenky

You can set JQValidateOptions.Enabled=True

and add a required rule

with JQValidateOptions.Rulles.Add do
begin
ErrorMessage:= 'Date value is required';
Rule:= jqvorvRequired;
end;

Best Regards

cgdevtools
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Kevin Kelly » 05 Jan 2014 17:17

Cool...

I can't find an error message placement property in relationship to the control (left, right, above, below).

Or, is it right side only?

Thanks - Kevin
Kevin Kelly
 
Posts: 45
Joined: 27 Jan 2013 19:45

by Alexander Bulei » 06 Jan 2014 10:32

Hi Kevin,

I can't find an error message placement property in relationship to the control (left, right, above, below).

Or, is it right side only?


By default, it's right side only. If you want use diferent position, use JQLabelEx component and ErrorContainerControl property.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Kevin Kelly » 08 Jan 2014 15:51

Perfect! Thanks...
Kevin Kelly
 
Posts: 45
Joined: 27 Jan 2013 19:45


Return to Suggestions

cron

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.