Form Tools
Encrypt value to be validated? - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Form Validation: JS + PHP (https://forums.formtools.org/forumdisplay.php?fid=18)
+--- Thread: Encrypt value to be validated? (/showthread.php?tid=715)



Encrypt value to be validated? - Webrunner - May 25th, 2010

Hi,
I want yo use javascipt validation to let people enter the correct code, but i don't want the code to be readable in the source. Does anyone have a suggestion on this?

Using the API is not an option since i am hosting the form on another server.
Thanks in advance!


RE: Encrypt value to be validated? - Webrunner - Jun 22nd, 2010

I think you are missing the point of my question.
But i have solved it myself using the function validation and this page: http://www.javascriptkit.com/epassword/index.htm