Scuba Santas 2008 – Up and Running…

By , Friday 5th September 2008 2:54 pm

Facebook: Scuba Santas 2008″>Scuba Santas 2008 is now up and running. Planning is underway for the 2008 dives organised through YD for the 20th December 2008.  The event is being controlled through facebook events.

There’s also a first individual post on YD here about what date to run the event and to get some provisional names for diving santas: Scuba Diving Santas 2008 – on Yorkshire Divers.

The event will once again be held at Vobster Quay, we’ve applied for another Guiness World Record, and hopefully get more visits from news crews such as those we had last year from the BBC.

More news will be posted once we’ve decided on a charity and things are moving along :)

Here’s more about last years event: Scuba Santas 2007.

IanDennisTechnical.co.uk Launches – Trimix, Advanced Nitrox Training

By , Thursday 4th September 2008 2:39 pm

Ian Dennis Technical Website Ian Dennis Technical has now been launched. Simply a shift of domains for Advanced Diver Training was a quick inexpensive website set up for a scuba diving instructor. So for all your uk trimix training you know where to go! Ian Dennis Technical – IANTD training in nitrox and trimix

Disabled Form Fields are not submitted…

By , Thursday 4th September 2008 11:01 am

As a quick note, as part of the ongoing estate agency software project I’ve gone back to editing date entry within the system. Now instead of allowing users to enter any old bit of text I’ve switched over to a Javascript date/time picker (for the short term) that allows user to ‘pick’ and date and time from a pop up window.

Now, for my old system  the picker would pop up when the user clicked on the input field. This however would allow the user to ignore the text field and still go and type any old thing into the field. This wasn’t ideal. So my solution was to ‘disable‘ the form field and put a span next to it with an onclick event calling the date/time picker. This meant that the user was almost forced into using the nice date/time picker so dates would go in with the correct format (although that still has to be validated!).

So I started passing my nicely formatted date-time(s) through the form and picking trying to pick them up with PHP‘s $_GET or $_POST variables. Unfortunately’disabled’ fields are not passed through form submissions This was very annoying. The solution was to enable the input element using javascript when the form was submitted using the onsubmit event.

This meant that the form data was passed through as required and was nicely formatted ready for validation…

Panorama Theme by Themocracy

1 visitors online now
0 guests, 1 bots, 0 members
Max visitors today: 16 at 08:14 am UTC
This month: 17 at 19-09-2017 09:35 pm UTC
This year: 45 at 02-01-2017 10:28 pm UTC
All time: 130 at 28-03-2011 10:40 pm UTC