Forums

How to add a Cancel button to a form

bertmeelberg 11 Aug, 2009
I would like to add a cancel button to a form.
By clicking the Cancel BUTTON The user should be redirected to a predefined page, without any form validation.
I have no clue how t do this.
GreyHead 12 Aug, 2009
Hi bertmeelberg,

Add a button to your form and give it a Javascript action to redirect 'onclick'.

Bob
bertmeelberg 14 Aug, 2009
This is a simple but very effective solution.
Thanks Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger