Firstly, being extremely honest I have minimal knowledge of Javascript and jQuery.
I have been working on a webite and have used a smart form plugin to create an order form. It has an option to add in javascript. I have created one to restrict date selection on a datepicker tool.
However I'm having trouble with trying to restrict the number of characters to 11 in a particular field. I would also like to restrict it to only numbers, letters and /.
It provides me with the below code to edit and use.
(function(){
var javaObject = {
AfterFormLoaded: function(jQueryFormReference) {},
BeforeFormSubmit: function(formData, jQueryFormReference) {}
};
return javaObject;
})
If anyone is able to help or point me in the right direct it would be a massive help.