Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[High] Date validation 13 Sep 2015 23:25 #13455

  • polsl
  • polsl's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
Hello,
there is a bug in server side validation of date provided in form. If the date format is wrong, for instance "qwe" form can't be saved and error is returned. However if the user makes a mistake in a number not format (for instance 2015-09-40) form is accepted and the date is replaced with current date with no error message displayed.
Best regards

Please Log in or Create an account to join the conversation.

[High] Date validation 15 Oct 2015 13:10 #13597

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed in
helpers/date.php
function :
getSqlDate()
Coding is now a piece of cake
The following user(s) said Thank You: polsl

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.080 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started