Umbracians for Unicef - the friendly fundraising
In the spirit of holidays and humanity, we started a fundraising for Unicef. You won't believe what we could change if every visitor on Our Umbraco donated a dollar or euro. Click and find out!
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?