JavaScript calculator does not work

cox 23 Dec, 2007
Help please, how to adapt the code for ChronoEngine [file name=SCRIPT.txt size=6874]http://www.chronoengine.com/components/com_fireboard/uploaded/files/SCRIPT.txt[/file]
GreyHead 23 Dec, 2007
Hi cox,

I've no idea, it's not clear to me what the script is supposed to do.

What happens when you put it in the JavaScript box for your form? (remember to remove the script tags).

Bob
cox 24 Dec, 2007
Sorry, this is all Page [file name=calc.txt size=24009]http://www.chronoengine.com/components/com_fireboard/uploaded/files/calc.txt[/file]

the script must count the cost of goods marked

ps sorry for my google translate🙂
GreyHead 24 Dec, 2007
Hi cox,

1. Put the script - without the <script> tags - in the ChronoForms JavaScript box.

2. Put the form html - without the <form> tags - in the ChronoForms Form HTML box.

3. Change the form name in the script from 'calc' to the ChronoForms form name - probably 'ChronoContact_calc'

4. Complete the remaining fields as necessary.

Bob
cox 25 Dec, 2007
Greyhead,

Did as you advised
Form Name: Chronocontact_calc
Form HTML
Form Javascript
result - a script does not work
probably I do that not so
will look that please files and prompt me where to look<br><br>Post edited by: cox, at: 2007/12/24 22:05
cox 25 Dec, 2007
here two files for the fields of Form HTML and Form Javascript
[file name=calc.zip size=4212]http://www.chronoengine.com/components/com_fireboard/uploaded/files/calc.zip[/file]
Form Name: Chronocontact_calc<br><br>Post edited by: cox, at: 2007/12/24 22:10
Max_admin 25 Dec, 2007
Hi Cox,

Did you try to look at the error using Firebug the Firefox extension ? this will help you much!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.