[PHP] RE: [PHP-WIN] Re: [PHP] confirm box

2002-10-09 Thread Davy Obdam
Mailinglist Subject: [PHP-WIN] Re: [PHP] confirm box Hi there, > echo " > "; > //The rest of my form > I am not exactly sure about this but I think you have to define the onSubmit with a return, otherwise it will always fall through, onSubmit only fails the submission if it

Re: [PHP] confirm box -----> Resolved by E M I N

2002-10-09 Thread EMIN CALIKLI
Hi , Change "OnSubmit=return ConfirmDelete();". Add your code "return" Like this :) "; // <--- -=-=-=- THIS LINE -=-=-=- //The rest of my form echo " "; ?> Have a nice day.

Re: [PHP] confirm box -----> Resolved by E M I N

2002-10-09 Thread EMIN CALIKLI
Hi , Change "OnSubmit=return ConfirmDelete();". Add your code "return" Like this :) "; // <--- -=-=-=- THIS LINE -=-=-=- //The rest of my form echo " "; ?> Have a nice day.

Re: [PHP] confirm box

2002-10-09 Thread Holger Heinze, Portalmeister GmbH
hi there youre missing a return. here is the code i use in order to supress the submission of the form in case the field validation (or the "are you sure... ?" confirm()) returns false: < form onSubmit="return validateForm(this)"> Have fun, Holger - Original Message - From: "Davy Obdam

Re: [PHP] confirm box

2002-10-09 Thread Archibald Zimonyi
Hi there, > echo " > "; > //The rest of my form > I am not exactly sure about this but I think you have to define the onSubmit with a return, otherwise it will always fall through, onSubmit only fails the submission if it returns a false value, otherwise it will always continue. Add the follow