Results 1 to 2 of 2

Thread: Required Field Validation and Print

  1. #1
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    264
    Thanks
    71
    Thanked 2 Times in 2 Posts

    Default Required Field Validation and Print

    1) Script Title: Required Field(s) Validation

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...uiredcheck.htm

    3) Describe problem: I have a test page with this form here:
    http://www.floridacompact.org/~flori...formonly2.html

    We would like to add a "Print This Page" script directly above the Submit Form button with text along the lines of "Before clicking Submit, please print a copy of this completed form for your records."

    I tried the cross browser print page javascript here at DD, but when I add that, the required field validation ceases to work and, more importantly, the Submit Form no longer works.

    Any ideas on how to work this?

    Thanks,
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

  2. #2
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    264
    Thanks
    71
    Thanked 2 Times in 2 Posts

    Default

    Found that by putting the javascript in the document heading the Print works.
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •