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.

Featured Replies

I have two fields utilizing radio buttons. Each year I need to reset these buttons to the default value I have set. I am trying to use a script to go through the records and perform this task. My problem is that it will reset to no value being highlighted. example is one radio button is "No form" and the other is "Complete". I want it to reset to "No Form" from "Complete"

Help would be appreciated.

Thanks

Wenzelj:

You've got to make sure that you're setting the field to exactly one of the radio button values. One way to check what's going on is to look at the field as a regular text field. See if there is a difference between how the field looks after scripting, and after clicking on the "No Form" button. Perhaps there are extra quotes or something like that. If the value of the field is not identical to a radio button value, then when the field is formatted as a radio button, it appears that no value has been selected.

-Stanley

Hi wenzelj,

Try this and see if it does what you want. I would use a small number of records to start with. (i.e. find all records, omit a couple of the records, then show omitted.)

Enter Browse Mode

Go to Layout [ YourLayout ]

Go to Record/Request/Page

[ First ]

Loop

Set Field [ YourFieldHere , "Complete" ]

Go to Record/Request/Page

[ Next, Exit after last ]

End Loop

HTH

Lee

Hi Wenzel,

It sounds like your script emties the field(s) value.

It should set the field(s) value to "No Form"

Ernst

  • Author

when I perform the script the value in the field is 0. I set it to popup list and a standard field and the value of 0 keeps being displayed. Any suggestions

  • Author

I figured out the problem. Thanks for the help.

I used "Complete" in the script for Set Field, after the other post came in, I believe you want to change it to "No form". However, I also noticed that you have used two different formats of the word Form (form) in your "No form". Your script step needs use the exact words of your radio button. (i.e. "No form" or No Form"). BTW, it is often these small typos that ruin relationships, calculations, scripts steps, etc.

HTH

Lee

wink.gif

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.