brotherton-erpnext/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples
sbkolate b17d4035c1 better validation example for developer
throw "past date selected" will freeze the form and user can not correct value of  from_date.
but validated false will just throw the pop-up and user can correct value of from_date and save the form.

Example changed from Event to Task because same is available in Custom Script Help for desk user
2016-02-22 17:16:34 +05:30
..
custom-button.md [docs] merged kb and cleanup. warning: don't see the commit 2015-12-03 17:59:34 +05:30
custom-script-fetch-values-from-master.md [docs] fixed links 2015-12-04 16:00:38 +05:30
date-validation.md better validation example for developer 2016-02-22 17:16:34 +05:30
generate-item-code-based-on-custom-logic.md [docs] merged kb and cleanup. warning: don't see the commit 2015-12-03 17:59:34 +05:30
index.md [docs] merged kb and cleanup. warning: don't see the commit 2015-12-03 17:59:34 +05:30
index.txt [docs] merged kb and cleanup. warning: don't see the commit 2015-12-03 17:59:34 +05:30
make-read-only-after-saving.md [docs] merged kb and cleanup. warning: don't see the commit 2015-12-03 17:59:34 +05:30
restrict-cancel-rights.md [docs] merged kb and cleanup. warning: don't see the commit 2015-12-03 17:59:34 +05:30
restrict-purpose-of-stock-entry.md [docs] merged kb and cleanup. warning: don't see the commit 2015-12-03 17:59:34 +05:30
restrict-user-based-on-child-record.md [docs] merged kb and cleanup. warning: don't see the commit 2015-12-03 17:59:34 +05:30
sales-invoice-id-based-on-sales-order-id.md [docs] merged kb and cleanup. warning: don't see the commit 2015-12-03 17:59:34 +05:30
update-date-field-based-on-value-in-other-date-field.md [docs] merged kb and cleanup. warning: don't see the commit 2015-12-03 17:59:34 +05:30