This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
onClick not firing on Radio button
Started 14 years ago by moonlightss | 4 posts |
-
I have an onclick on a multiple choice radio button that won't fire no matter what i put there. am i missing something to get this to fire when a radio button is clicked??
Thanks.
Posted 14 years ago # -
can you post some URL so that we could check it please?
MachForm Founder
Posted 14 years ago # -
http://www.moonlightsilverscreen.com/test/reserve.php
i have also tried "javascript:alert('test'); with no luck.
i want this to run a function that i already have attached to the form that works fine when the calculate button at the bottom of the form is clicked.
Posted 14 years ago # -
Hmm.. I think I know the problem. Your radio buttons already being assigned onClick event by the view.js file.
This is needed to highlight your form fields when being selected and to show the guidelines.
A workaround is by modifying the view.js file and put some condition there, to call your additional function for the particular field.
You can mail us directly and we'll send you the source code of view.js file.
MachForm Founder
Posted 14 years ago #
Reply
You must log in to post.