The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Server side validation. - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Server side validation. (/showthread.php?tid=58) |
Server side validation. - bishopco3 - Mar 14th, 2009 Hi, I've set up Form Tools on my website using the code submit. I am using formTools2. My question is that to set up sever side validation using the inbuilt functions, do I use the same method as for the older version of Form Tools? So far I haven't found any examples of server side validation for this new version of Form Tools. Perhaps someone can help me? Btw, this tool is possibly the best Form tool I have used, thank you developers for your effort. Cheers, bish. RE: Server side validation. - Ben - Mar 17th, 2009 Hi Bishop, Thanks! Yes, Form Tools 2 uses exactly the same server-side validation code as Form Tools 1. The only difference is that it's now stored in its own file (/global/code/validation.php) rather than in general.php. The actual usage remains the same, just so long as that file is included in your page. Unfortunately documentation on the validation feature is pretty scanty (or non-existent!) right now. Sorry I couldn't be more help on this... good luck! - Ben |