Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » calculate (javascript)
calculate (javascript) [message #431091] Sat, 14 November 2009 21:52 Go to next message
salwa
Messages: 76
Registered: December 2007
Member
Hi

I have a form where the user can type in discounts (in %) in a text field.(for Tabular form)

Is it javascript I should use?:
The user type a fx. 10 (%) and then calulate the new price in a field (I have the total price in a field in the form) And if the user change the discounts to 12 then a new value is calucaltet (with out a page submit)

If yes someone there have sample?

single form possible but not Tabular form
Re: calculate (javascript) [message #431137 is a reply to message #431091] Sun, 15 November 2009 22:28 Go to previous message
dbhossain
Messages: 155
Registered: August 2007
Location: Dhaka
Senior Member

Dear mr. salwa,

Follow the attachmed document that will guide you, how to auto calculate column value. in the document i have shown sal+com=total sal, using this example you can calcuate your interest or whatever based on changhing the javascript function.


hope it will help you.


Thank you.

Kamal hossain
Previous Topic: primary key manual entry
Next Topic: tabular display field
Goto Forum:
  


Current Time: Thu Mar 28 08:09:55 CDT 2024