R
Rob Meade
Hi,
I have a webform where a user can enter text - this text will then be
emailed to subscribers of a chosen subject.
I have added 3 ImageButton controls to the bottom of the page - on the left,
"Back", on the right "Send" and in the middle "Preview" - I dont expect I
need to explain them - but I will
Send should submit the form and process the text to send to email (seems to
be ok)
Preview will either goto another webform and display what the email message
will look like (as there is a header, body and footer to the message)
Back will take the user back the previous page which allows them to choose
the 'subject' for the email (database driven)...
The problem I'm having is that the buttons are ALL triggering the validation
(the javascript stuff for missing fields and so on)....this should happen
for the Send and Preview buttons, but for back - the content of the form
should be ignored, and simply take the user back.
Can someone help me out please - I'm quite new to ASP.Net and this is my
first 'mini' app using it.
Any/all help appreciated,
Regards
Rob
I have a webform where a user can enter text - this text will then be
emailed to subscribers of a chosen subject.
I have added 3 ImageButton controls to the bottom of the page - on the left,
"Back", on the right "Send" and in the middle "Preview" - I dont expect I
need to explain them - but I will
Send should submit the form and process the text to send to email (seems to
be ok)
Preview will either goto another webform and display what the email message
will look like (as there is a header, body and footer to the message)
Back will take the user back the previous page which allows them to choose
the 'subject' for the email (database driven)...
The problem I'm having is that the buttons are ALL triggering the validation
(the javascript stuff for missing fields and so on)....this should happen
for the Send and Preview buttons, but for back - the content of the form
should be ignored, and simply take the user back.
Can someone help me out please - I'm quite new to ASP.Net and this is my
first 'mini' app using it.
Any/all help appreciated,
Regards
Rob