I'm using the onClick event instead of the onSubmit and it seems PHP variables are not set correctly. Basiclly I have an input button with an onClick event. When the event is fired, a javascript function is executed where I do some checks and if everything is ok, the form is submitted. Then the problem is that when I check if the variable linked to the button is set the answer is false.
I'd appreciate if someone could help me ,
Albert