jQuery unobtrusive validation and custom date formats

jQuery unobtrusive validation and custom date formats

Another quick reminder for my sloppy memory: in case you want to use a custom date format and you need validation (of course, why wouldn’t you?), sometimes may happen that the format you’re using is not recognised during the client validation phase. In one of my side projects for example...

1 minute read
Handling validation with dynamic forms

Handling validation with dynamic forms

Quick tip, more of a reminder for me. In case you have to add/remove fields from a form dynamically and want to apply validation rules on client-side here’s how you should do: [csharp] $form.removeData(“validator”) .removeData(“unobtrusiveValidation”); $.validator.unobtrusive.parse($form); [/csharp]

1 minute read
11 Unconventional Tips for Improving your Programming Skills

11 Unconventional Tips for Improving your Programming Skills

This is just a repost of an interesting article I found today and I think it’s worth sharing. TL;DR (for all the lazy people out there, me included): 1. Eat Well, Sleep a Lot, and Stay Hydrated! 2. Take Periodic Breaks, and Get Increased Productivity 3. Learn How to Pump Yourself...

1 minute read
Unity: Using an FSM to control your GameObjects

Unity: Using an FSM to control your GameObjects

Thanks to my good friend Maurizio, who’s been helping me removing the dust from my memory, today I’ll show you how to use a simple FSM to control your GameObjects 🙂 First, if you don’t know what an FSM is, please read this, and maybe this too. Done? Good. Now...

2 minute read