Thank you Mighty,
but I have some problem with were to put the code for it to work correctly. I don´t know if you know codecharge, but it saves two files, an asp onde, with the code, and a html template, which is where I suppose would go the javascript.
But, the problem that is, is that I can´t make ir work...
See the following:
<input type="hidden" value="insert" name="FormAction">
<input type="submit" value="Cadastrar" onclick="InserirDados.FormAction.value = 'insert';" onSubmit="return validate(this)">
Is it correct to put an "onSumit" and an "onClick" events this way... I think this may be the problem...
thank you, .: HarshMellow :. "Sperto ne estas tio, kio okazis al vi, sed estas tio, kion vi faras al tio, kio okazas al vi." (Aldous Huxley)