This topic is locked

Add/Edit page simple date box validation

12/14/2011 9:27:08 AM
PHPRunner General questions
S
sheff88 author

After few hours of experiments with date input boxes I have find issue: simple date box don't has client input validation.

Or it is not working correctly.

How can I create date edit element with free input and client validation?

Thanks!

C
cgphp 12/14/2011

What is the issue ?

S
sheff88 author 12/14/2011



What is the issue ?



Validation of date string not work

C
cgphp 12/14/2011

It checks for valid date when you press the Save button. If the entered date is not valid a "Required field" error is shown.

As workaround, you can set the field as "Text field" and add your own validation plugin. Check this article: http://xlinesoft.com/phprunner/docs/validation_types.htm#own_validation_type

S
sheff88 author 12/14/2011



It checks for valid date when you press the Save button. If the entered date is not valid a "Required field" error is shown.

As workaround, you can set the field as "Text field" and add your own validation plugin. Check this article: http://xlinesoft.com/phprunner/docs/validation_types.htm#own_validation_type



Writing private date validator and conversation plugin in progress. Thank you for reply - now I know that is really bug.