Check if start date is earlier than end date (PHPrunner 9.0) |
3/5/2019 8:48:48 AM |
PHPRunner General questions | |
R
redmine.csi author
Hi All, |
|
admin 3/5/2019 | |
This feature present in all versions of PHPRunner. You just add your code to BeforeAdd/BeforeEdit events to validate data. |
V
|
valerios 4/1/2019 |
This feature present in all versions of PHPRunner. You just add your code to BeforeAdd/BeforeEdit events to validate data.
|
lefty 4/1/2019 | |
Hi admin, about the function (Check if start date is earlier than end date), if Start Date value is empty/with not value, I'll be seeing always the error: Start date can not be later than End date. But is not very helpful, I mean, this you should see if start date value is valued/filled. Is it possible? Thanks,
|
V
|
valerios 4/2/2019 |
When a record is added to database , just make it so start_date cannot be null or required to enter . Then make different settings for add and edit pages box in start_date field , and In edit make read only to keep original value . If there is no value added to record for start_data and null is allowed then the problem will always exist when start_date is originally added and no date is entered . So then after fixing null values to make required , add the code as where the admin suggests above thus making the code link in your original post always check each date field.
|