Professional Web Applications Themes

onSubmit question - Macromedia Dreamweaver

Can you make multiple (two) calls to a javascript function for the onSubmit event? Currently, I'm calling one JS function like the following: <form name="donorapp" onSubmit="stamp()" method="post" action="add_to_DB.asp"> I would like to call a form validation function for onSubmit as well? Do I just add the function name, i.e. onSubmit="stamp() ; validate()" or something similar? I've tried, but it isn't working, so I thought the syntax was incorrect? Thanks in advance. -D-...

  1. #1

    Default onSubmit question

    Can you make multiple (two) calls to a javascript function for the onSubmit
    event? Currently, I'm calling one JS function like the following:

    <form name="donorapp" onSubmit="stamp()" method="post"
    action="add_to_DB.asp">

    I would like to call a form validation function for onSubmit as well? Do I
    just add the function name, i.e. onSubmit="stamp() ; validate()" or
    something similar? I've tried, but it isn't working, so I thought the
    syntax was incorrect? Thanks in advance.
    -D-


    Dwayne Epps Guest

  2. Moderated Post

    Default Re:onSubmit question

    Removed by Administrator
    Pistolfire99 webforumsuser@macromedia.com Guest
    Moderated Post

Similar Threads

  1. Client Side ValidateAt onSubmit without the alert box?
    By furious70 in forum Coldfusion Flash Integration
    Replies: 0
    Last Post: April 7th, 09:01 PM
  2. MX7 problem with cfform onSubmit behavior
    By mswahk in forum Macromedia ColdFusion
    Replies: 6
    Last Post: August 25th, 05:12 PM
  3. Basic CFMail and onSubmit question
    By jdeline in forum Coldfusion - Getting Started
    Replies: 0
    Last Post: August 4th, 05:35 PM
  4. onSubmit
    By Rick in forum Coldfusion - Advanced Techniques
    Replies: 1
    Last Post: May 20th, 04:24 AM
  5. CFFORM onSubmit()
    By dawntx in forum Coldfusion - Advanced Techniques
    Replies: 2
    Last Post: March 17th, 03:19 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139