Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

radio button and if calc...

Featured Replies

I have never used a radio button before and would like some clarification of its potential use in a calculation that I am thinking of using. What I would like to do is this: have a radio button that if clicked on would be the true part of a calculation, therefore not adding the data from a field to another one for a total. Specifically it relates to remitting taxes in a vendor/seller situation. In most cases I (or my clients to be more exact) remit the sales tax themselves in sales of merchandise but as my clients sell merchandise in different locations all the time I am finding that the nifty calculation I did to separate the local taxes for their records doesn't work when the vendor insists on remitting the taxes themselves. I wanted to just add a button that indicates that this has occured and do the calculation without adding back the tax to the final net income. Is this a correct way to use radio buttons? Any ideas or calc examples you could give me? Thanks...

Rich -

If I understand your question correctly, using a radio button should be a good solution.

General notes on radio buttons

Radio buttons are no different from text fields, only that you choose which text to have in the field by the radio button rather than by typing it into the field.

By the way, to uncheck a radio button, hold down the shift key and click it.

For your solution, you will have only one radio button, and you can have it represent any text you wish: "exclude" or "no" or whatever.

Now just use the text field (via radio button) in the calculation that makes your tax calculation.

e.g.,

If(<radio button field> = "exclude", calculation A, calculation ???. If you have checked "exclude" then the calculation will be <A>; if not, it will be <B>.

Alternatively, since you only have one radio button value, you could use

If(isempty(<radio button field>, calculation B, calculation A))

or the calculation

If(not isempty(<radio button field> ), calculation A, calculation ???

Hope this helps.

Charlie

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.