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.

Beginner SOS - Calculate only if radio button is "yes"?

Featured Replies

  • Newbies

Hello everyone, I am a beginner. I am pretty much clueless. I want to set a field only if the radio button is set to "yes". This is what I did:

If[Property::Inspection="yes"]

Set Field [Property::Repair; Property::RepairCost*1]

End If

Can anyone tell me what I did wrong? Plese help.

Hi and Welcome to the forums. You have this listed in the calculations forum but it seems as thought you are trying to write a script. What are you trying to do? Do you want the value to change automatically in a field or is it something you want to do when you run a script.

At first glance at your script it seems fine except the space you have in front of the " yes". Any spaces within quotes will be taken as literal.

  • Author
  • Newbies

Thanks for the reply. Ignore the space in front of yes. it's a typo.

Yes, I am trying to have the value in the field(target field in the set field function) changed when the scrip is executed, but only do so if the radio button is set to "yes".

Am I missing something here?

You should add in a commit record[] but I dont think this will solve your problem. As a matter of fact what is the problem you are having exactly? Also why bother multiplying by 1?

  • Author
  • Newbies

I want to copy a value from one field to the target field if the radio button is set to "yes".

I want to copy a value from one field to the target field if the radio button is set to "yes".

How does this answer of of my other questions?

Are the field types properly set as numbers? Like I said earlier, from a brief look at it, it should work. We need specifics; not just repeating the same thing.

Also you dont need to multiply it by 1 to set teh value of one field of that of another.

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.