Hi and thank you very much to anyone who can help with this. I'm very new to html, so please bear with me.
I have a form with an input field [Width] set to take cms.
I have three other input fields [productcode], Quantity and [cost]
I want to run a calculation where if the width is between
50-100cms the [productcode] field will be set to 2 and the [cost] field to 140.
If the width is between 100 and 150 the [Productcode] will be set to 3 and the [cost] field to 165.
I then need to multiple the [cost] field by the [quantity] field.
I've looked at various sites and links about this but got totally confused. I don't have a database running in the background, I simply want the fields to be displayed on the webpage. Can anyone either a) help me with the solution b) point me in the direction of a very easy beginners expressions link where I can learn to do it.
Thank you very much
RichD
I have a form with an input field [Width] set to take cms.
I have three other input fields [productcode], Quantity and [cost]
I want to run a calculation where if the width is between
50-100cms the [productcode] field will be set to 2 and the [cost] field to 140.
If the width is between 100 and 150 the [Productcode] will be set to 3 and the [cost] field to 165.
I then need to multiple the [cost] field by the [quantity] field.
I've looked at various sites and links about this but got totally confused. I don't have a database running in the background, I simply want the fields to be displayed on the webpage. Can anyone either a) help me with the solution b) point me in the direction of a very easy beginners expressions link where I can learn to do it.
Thank you very much
RichD