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
Hi ,
Change "OnSubmit=return ConfirmDelete();".
Add your code "return" Like this :)
"; // <--- -=-=-=- THIS LINE
-=-=-=-
//The rest of my form
echo "
";
?>
Have a nice day.
Hi ,
Change "OnSubmit=return ConfirmDelete();".
Add your code "return" Like this :)
"; // <--- -=-=-=- THIS LINE
-=-=-=-
//The rest of my form
echo "
";
?>
Have a nice day.
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
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
5 matches
Mail list logo