You need to sign in to do that
Don't have an account?
Alfredo Ornelas
Button style Calculator
Can you give me an idea how to create a button style calculator in visualforce? simple math: + , - , / , * , =
Ashwani
If you have idea about creating calculator in .net or jsp then it is similar to it. Insted of ajas here you need to use <apex:commandbutton> for calculation logic and <apex:input> for input.
Alfredo Ornelas
OK, thank you!
James Loghry
If you want to make it pretty, then most likely the better route is to search for a javascript calculator. There are plenty of examples out there, utilizing jquery or other frameworks. Here is one example: http://therockncoder.blogspot.com/2012/05/jquery-mobile-calculator.html The trick would be to retrieve the value into your controller, though.
Alfredo Ornelas
Thanks James!