diff --git a/Site5/App_Code/FieldValidation.cs b/Site5/App_Code/FieldValidation.cs
new file mode 100644
index 00000000..6c9c7170
--- /dev/null
+++ b/Site5/App_Code/FieldValidation.cs
@@ -0,0 +1,77 @@
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Linq;
+using System.Threading;
+using System.Web;
+using System.Web.Services;
+
+///
+/// Summary description for FieldValidation
+///
+[WebService(Namespace = "http://tempuri.org/")]
+[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
+// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
+[System.Web.Script.Services.ScriptService]
+public class FieldValidation : System.Web.Services.WebService {
+
+ public FieldValidation () {
+
+ //Uncomment the following line if using designed components
+ //InitializeComponent();
+ }
+
+ [WebMethod]
+ public bool IsAmountValid (string amount)
+ {
+ // Determine correct culture for parsing
+
+ CultureInfo culture = null;
+
+ // Set default culture (English, United States, but that doesn't work so fake it to GB)
+
+ string preferredCulture = "en-GB";
+
+ // ----------- SET CULTURE ------------
+
+ // Does the user have a culture preference?
+
+ if (HttpContext.Current.Request.Cookies["PreferredCulture"] != null)
+ {
+ // Yes, set it
+ preferredCulture = HttpContext.Current.Request.Cookies["PreferredCulture"].Value;
+ }
+ else
+ {
+ // No, determine from browser
+ string browserPreference = "en-GB";
+ if (HttpContext.Current.Request.UserLanguages != null && HttpContext.Current.Request.UserLanguages.Length > 0)
+ {
+ browserPreference = HttpContext.Current.Request.UserLanguages[0];
+ preferredCulture = browserPreference;
+ }
+ }
+
+ try
+ {
+ culture = CultureInfo.CreateSpecificCulture(preferredCulture);
+ }
+ catch (Exception exception)
+ {
+ culture = CultureInfo.InvariantCulture;
+ }
+
+ // Try to parse the string we got as a double
+
+ try
+ {
+ Double.Parse(HttpUtility.UrlDecode(amount), NumberStyles.Number, culture);
+ return true;
+ }
+ catch (Exception)
+ {
+ }
+
+ return false;
+ }
+}
diff --git a/Site5/Automation/FieldValidation.asmx b/Site5/Automation/FieldValidation.asmx
new file mode 100644
index 00000000..ba3c486a
--- /dev/null
+++ b/Site5/Automation/FieldValidation.asmx
@@ -0,0 +1 @@
+<%@ WebService Language="C#" CodeBehind="~/App_Code/FieldValidation.cs" Class="FieldValidation" %>
diff --git a/Site5/Master-v5.master b/Site5/Master-v5.master
index bd8a86e1..53634d6f 100644
--- a/Site5/Master-v5.master
+++ b/Site5/Master-v5.master
@@ -10,7 +10,6 @@
-
@@ -317,7 +316,11 @@
+
+
+
+