You've try to print <dtml-var age> in the "insertResume" method? May be the problem is not in the form-to-insertResume step. How do you call the age (and the other form vars) from the SQLinsertResume and sendmail methods? Andrés Sánchez Gómez EcMess.com Mike Tran wrote:
Well, the "insertResume" method call on another method to Insert the data into a database <dtml-call SQLinsertResume> and uses <sendmail> to notify the site adminstrator.
I did not have any problems with Jscript inside of Zope. My problem was form data did not get passed to "insertResume". Inside the SQLinsertResume and sendmail I have variables referencing the form. Zope gave me an error because those form data was not passed to "insertResume".
Error Type: KeyError Error Value: age
On Tue 05 Mar 02 10:34, you wrote:
I realise that you have some answers for your question. But I belive you are not looking for a Zope form validating solution, and you want to fix what you've made in Javascript. Esentialy, there's no problem with javascript inside Zope, and there's no problem with javascript form validating in zope. I've copy-paste your form and made a Test "insertResume" method and have no problem with it. Keep tying or give us more information (insertResume method for example)
Andrés Sánchez Gómez EcMess.com