Forums

a SIMPLE calculator form

mirzamunas 18 Mar, 2010
I would like a very simple form but before I get about to do it I would like some professional advice.

I want to have a empty field where when a person enters an amount ie 35 enter clicks submit (lets take this number as A) it should use the following formulation and present the amount.

A x 37.5 x 52 / 12 =
GreyHead 18 Mar, 2010
Hi mirzamunas,

You need a few lines of JavaScript to do that.

Bob
mirzamunas 18 Mar, 2010
I understand that I need some sort of a calculation to be made using Javascript or use some sort of tables with MySQL... but how to do it using the product that I have bought with ChronoEngine? Where does the script needs to be inputted...? after doing what? do I have to go about and create a form first?
GreyHead 18 Mar, 2010
Hi mirzamunas,

Well yes, ChronoForms is a forms application. You will need to make a form with at least the one input and perhaps a submit button.

The JavaScript can go into the JavaScript box on the Form Code tab.

Bob
GreyHead 24 Mar, 2010
Hi mirzamunas,

There's no attachment.

Looking at the page source you seem to have got HTML and JavaScript all mixed up.

Bob
This topic is locked and no more replies can be posted.