>> More specifically, the 4D concept of object methods associated with >> input field and variables. I would like to call a 4D routine to scan >> the entry of a text area and verify its validity without 'posting'. Is >> this possible? > > Bill, > > Unfortunately the browser only knows html, javascript, css and a few > other things so if you want the power of 4d you will have to do that on > the server. > > If you want to do client side checking or validation of an input field > without posting back to the server, you will need to use javascript. If > you use server side validation you can either call 4d method(s) or more > appropriately write an Active4d method(s) that does the validation. I > would highly recommend doing the server-side validation with A4D > methods.
You should validate all of the user input on the server side even if you use javascript to validate on the client side. It's very easy to disable javascript in most browsers. There are also many "clever" individuals who know enough to save your page to their hard drive and modify it so that your carefully crafted javascript does not do what you intended. -- // Derrell Thomason <mailto:[EMAIL PROTECTED]> // Desktop Programming Coordinator // Pensacola Christian College <http://www.pcci.edu>
