Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Special computation

Quote Reply
Special computation
I have a column with a price value in EURO.

Now I want to enter a second price in an other price-column on the modify-page.

This price is what I need to pay in Russian Rubels, based on the EURO price.

After this input, 2 other columns should be filled with the value what the Rubels-Price would be in EURO, and the calculation between the 2 Euro values in %

I setup globals for the computing Rubels/Euro and the calculation Euro1/Euro2 in %,
but it seems that I canīt use this globals at modify-page so that they donīt take effect to fill the columns they should be.

Any idea?

Michael

--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [Michael Skaide] Special computation In reply to
Hi,

Sounds like something for Javascript to handle if you are only storing one price in the actual database.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Special computation In reply to
Alex,

1 price is stored in the db before the computation should start.

Then I want to enter the second price in the modify template, and based on this price and the first price (which was stored before) the other values should be computated and stored in the db.

Michael

--
Michael Skaide

http://www.cycle24.de