Come work for Umbraco - The Umbraco HQ are hiring Project managers, .NET developers and DevOps people!
I'm a few hours away from a project deadline and failed to consider this:
How can I implement validation for date period where two datepicker fields are concerned?
e.g: from date should not be later than to date
any help would be GREATLY appreciated! :D
Hmm, I don't think there is any built in way to handle this.
I have done something similar by adding a custom datatype to the document type. The datatype was a usercontrol with a validator control on it. When the document is saved, you usercontrol will get called, and you can do some coding logic to add errors to the validator, which will cause umbraco to prompt the user to correct the error before publishing.
I am stuck, no way can I put together a bug free user control in time :(
sorry morten but what do you mean by publishing? My question is in regards to contour forms and not pages (?)
Ah, so sorry. I did not see the forum category the question was posted in.
I'm afraid I have no experience with contour. :-/
I actually need a solution which does not need to be implemented manually for every new form, as the client requires that form management be handed to their (non-developer) staff. Any suggestions?