CodeCanyon

Validate

  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 50 and 99 items
  • United Kingdom
  • Referred between 1 and 9 users
CodeCanopy says

Hey I don’t mean this in a bad way but cant you just use the basic tools in dreamweaver to do the same thing with spry?

3 years ago
Author
Integralist Integralist replied

I’ve never used the Spry library, but from what I understand it’s one of the less efficient JavaScript libraries available (compared to jQuery or MooTools etc).

Also, as I’ve stated before I don’t like the idea of having to use a JavaScript library of that magnitude for doing form validation (I believe Spry is about 76k in size and is completely unreasonable for my users to have to download 76k for the sole purpose of form validation).

I have found that most people are quite happy with writing their own JavaScript to cover the basic functionality they require in a project and have no need for a full blown framework. But then they’ll come across a particular part of their application that is either outside their skill level or just a pain to implement themselves and so they go running to the nearest JavaScript library to save them the hassle.

Hence why I wrote this function for validating forms, to save me from having to download jQuery + a form validation plugin to perform something I could just as well do myself.

But either way, thank you for the comment. I appreciate you sharing your perspective.

3 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
robbiefowler says

does this send the form as well? in an email?

2 years ago
Author
Integralist Integralist replied

Hi Robbie, apologies for my late reply!

No, the code provided is just JavaScript code.

The reason I haven’t provided a server-side script for sending form data via email is because I only code in PHP and chances are someone will want code examples for sending emails in ASP .NET, Ruby, Python or whatever language they happen to build in. So it was best just to leave the server-side up to the user to handle.

There are plenty of tutorials online if you need assistance with writing a server-side script to handle form data, just do a Google search for something like “send email using X” (replace X with your language of choice).

Thanks Robbie.

Kind regards, Mark

2 years ago
  • Has been a member for 2-3 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 100 and 499 items
  • United Kingdom
RobbyDesigns says
Purchased

Seemed nice and simple but I couldn’t get it to work, not one for the newb’s :(

2 years ago
Author
Integralist Integralist replied

Hi RobbyDesigns, apologies for the very late reply – I’ve been very busy at work and have not had any time to check this site or any comments left for this item.

Because I wrote this validation script using ‘plain vanilla’ JavaScript (e.g. no Js Library like jQuery backing it up) it does mean a user needs to have some JavaScript knowledge to use it.

This component is geared at web developers and not non-technical users, so a web dev should be able to use this without too much hassle.

Thanks for the comment.

1 year ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
Claudia says

This is cool if you insert a pop up calendar in the date field will be great.

2 years ago
Author
Integralist Integralist replied

Hi Claudia, apologies for the very late reply – I’ve been very busy at work and have not had any time to check this site or any comments left for this item.

A JavaScript date picker widget would be a nice feature to implement but would require quite a bit of extra CSS /HTML/JavaScript to implement it and so I feel is outside the remit of what this component is ideally for.

If you want to add a JavaScript date picker then you are obviously free to do so, but I doubt I’ll be adding this as it strays from the components intended purpose of ‘form validation’.

Thanks for commenting though.

1 year ago
  • Has been a member for 3-4 years
  • Bought between 100 and 499 items
brooshay says
Purchased

Hi,

I have purchased this item and cannot get it to work with dropdown select boxes. Any ideas or help would be much appreciated.

Thanks. L

2 years ago
Author
Integralist Integralist replied

Hi brooshay, apologies for the very late reply – I’ve been very busy at work and have not had any time to check this site or any comments left for this item.

No plans to add in a ‘select’ element into the mix at this stage, possibly in the future when time permits.

Thanks for the comment.

1 year ago
  • Has been a member for 1-2 years
  • Bought between 50 and 99 items
afleming33 says

question for you- if people enter their credit card info, is this a secure form?

2 years ago
Author
Integralist Integralist replied

Hi afleming33, apologies for the very late reply – I’ve been very busy at work and have not had any time to check this site or any comments left for this item.

No, for a form to be secure you require an SSL certificate installed on your server to make sure when the form was submitted that the data was transferred encrypted from the users machine to the server.

This component is merely a validation script written in JavaScript using Regular Expressions.

Thanks for the comment.

1 year ago

by
by
by
by
by