|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Html_quickform
Hi. Im trying to use the button element type as my submit (not the submit element type). However, when I submit the form the validation does not work. It seems like the onsubmit is not being called. If i switch the element type to submit, it works fine. Anyone have any ideas form me?
|
|
#2
|
|||
|
|||
|
Are you talking about client-side validation? It works only with submit buttons. If you want to use buttons, you must call the validation function yourself in an onclick event on your button.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > Html_quickform |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|