Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Form validation and image buttons

New Here ,
Oct 26, 2006 Oct 26, 2006
Hello
I am trying to create a wizard interface and need to jump from one for to another and back again.

I have been using images instead of buttons to accomplish this, but I have hit a problem. If I submit a form using the following JavaScript I cannot use the standard form validation or Yaromat.

javascript:document.form1.submit()

When the image is clicked the form just submits without validating the form.

I could use form buttons but I some times need a number of buttons on a form. Many of them will simply jump to other pages passing URL Parameters.

Any advice will be appreciated I suppose I need a way of getting the validation to work or a way of using buttons within an existing form to simply hyperlink to another page.

Cheers
TOPICS
Server side applications
223
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 26, 2006 Oct 26, 2006
LATEST
Use an image button.

<input type="image">

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004




Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines