Hi there im very new to forms,
But have muddled my way through. I have created a form at http://developmentoy.com/index.php?option=com_chronocontact&chronoformname=Calculator
Which is a concrete calculator. It calculates fine, however the reset form button does not work, anybody have any ideas why? this is the code im using to reset the form :-
Any help will be appreciated.
Kind regards
Neil
But have muddled my way through. I have created a form at http://developmentoy.com/index.php?option=com_chronocontact&chronoformname=Calculator
Which is a concrete calculator. It calculates fine, however the reset form button does not work, anybody have any ideas why? this is the code im using to reset the form :-
<input onclick="reset_onclick('')" value="Reset Form" name="xl_reset_bottom" type="button"></td>
Any help will be appreciated.
Kind regards
Neil
Hi nezona,
the whole form code is messed, I think you added the HTML and JS code with tags in the JS code box, try to check any of our video tutorials on how to setup a form, the HTML code need to go into the HTML box with no form tags, same for JS code!
Cheers
Max
the whole form code is messed, I think you added the HTML and JS code with tags in the JS code box, try to check any of our video tutorials on how to setup a form, the HTML code need to go into the HTML box with no form tags, same for JS code!
Cheers
Max
Hi nezona,
You have a very complex piece of JavaScript there to do a simple calculation! I think that a big part of the problem is the form name. The script appears to be looking for a form with an id of 'formc'
Bob
You have a very complex piece of JavaScript there to do a simple calculation! I think that a big part of the problem is the form name. The script appears to be looking for a form with an id of 'formc'
co.p8B6=eeparseFloat(document.formc.p8B6.value);
but the id of your form is 'ChronoContact_Calculator'Bob
Hi there,
Thank you for your help so far. The concrete calculator now works however, when you enter your details, the screen resets itself and goes to the top of the screen. (you will have to see the link to see what I mean). I dont understand why this is happening. http://developmentoy.com/index.php?option=com_chronocontact&chronoformname=Calculator&Itemid=30
Thank you for your help so far. The concrete calculator now works however, when you enter your details, the screen resets itself and goes to the top of the screen. (you will have to see the link to see what I mean). I dont understand why this is happening. http://developmentoy.com/index.php?option=com_chronocontact&chronoformname=Calculator&Itemid=30
I just tested on Firefox 3 and all is fine ?
This topic is locked and no more replies can be posted.