Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7911 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I have 2 fields salary and fee. I would like a button when clicked will take the number from salary field multiplied by 12.5% and the result entered in the fee field. THANKS

Posted

Make a script:

Set Field [fee, Round (salary * .125, 2)]

Then attach the script to a button. Done.

Posted

You could do this without a script by changing fee to a calculation field. I would add another field called multiplier, where you would put the 12.5%. The calculation for fee field = salary * multiplier. As soon as you enter the multiplier, the fee field would be filled in. You can also set the multiplier field to have an auto-entry of 12.5%

Another reason for the multiplier field is that if the multiplier value changes, you wouldn't have to change any hard coded equations.

HTH, Mike

This topic is 7911 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.