Skip 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.

If TextField1 = "X" then TextField2 = "a different X"

Featured Replies

  • Newbies

Ok, so I'm pretty new to FM, so bare with me. What I'm trying to do is set up a text field that checks to see if the text in field ShipTo_State = TX, if it does then I want it to auto fill another field that would have "8.25%", however if it doesn't have TX then I'd want it to say 0%.

I'm trying to use:

If(ShipTo_State = "TX"; Taxed = "8.25%")

With "Taxed" field as my output text field, but if I put in TX in the state field, I get 0% in the "Taxed" Field, but if I put in any other state, it leaves the "Taxed" field blank.

Any help would be appreciated!

If you need more info, I'd be happy to explain further!

Thanks,

Andrew

If(ShipTo_State = "TX"; Taxed = "8.25%")

The correct syntax is:

If ( ShipTo_State = "TX" ; "8.25%" ; "0%" )

Tax rates change. It would be better to keep the rate in a field somewhere as data, instead of hard-coding it into a calculation formula.

See also:

http://fmforums.com/forum/topic/74315-bear-vs-bare/

  • Author
  • Newbies

Well as I stated, I'm pretty much completely new to FM, so I'm not sure how to do that lol.. I do understand that if tax rates do change and I have to manually change it in the calculation that It's going to change all previous invoices as well? Is it simple to add it like you said?

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.