Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
Dwayne Epps #1
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
-
Client Side ValidateAt onSubmit without the alert box?
My coworker thought he saw an example of this, but we can't find it now. In a flash form, I want to do validateAt="onSubmit" (on client) and red... -
Basic CFMail and onSubmit question
Try changing <form name= "validation" onSubmit action="thanks.cfm" method="post"> to <form name= "validation" action="thanks.cfm" method="post"> -
MX7 problem with cfform onSubmit behavior
Mike says, "This is a known bug, we found this to late in the development cycle to get it in." I can't find any other documentation about this bug... -
onSubmit
Is there a way to use the onSubmit action in a cfform since coldfusion uses that to run it stuff for verification? Thanks in advance!! -
CFFORM onSubmit()
I have been trying to figure this one out. Haven't found the solution by searching the forums. I'm hoping someone else has come across this and will... -
Pistolfire99 webforumsuser@macromedia.com #2
Re:onSubmit question
I am not sure about the onSubmit in the form tag. Also I am not sure about calling 2 javascript functions at the same time. You can call one and have that call another.
Anyway, this is how ur form should look
<form name="form1" method="post" action="xxx.php">
lastname <input name="name" type="text" id="name">
<input type="submit" name="Submit" value="Submit" onClick="your function()">
</form>
Hope you get the idea. When it comes to form validation, there are plenty of extensions available out there. DMX comes with one, very simple, if you want a litle bit of advanced, search for an extension by yaromat, seems to be popular at the moment.
Pistolfire99
Pistolfire99 webforumsuser@macromedia.com Guest



Reply With Quote

