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

Hello

we would like to make a button out of a field where we have to add a certain range of prices.

I would like the user to be able to click on this field (button) and with each click raise the amount by 5 dollars and then start over. So the clicks would change the field like first click "5", 2nd click "10", 3rd click "15" But since there are only 3 possible entries if I click again it would go back to "5" and so on.

Is there some way to do this with the mouse if the field is a button?

Thanks for your help

STan

Use this script step attached to yourField that acts as button (disable entry in it of course)

Set Field (yourField, case(yourField=5,10, yourField=10, 15 , 5 )

Dj

  • Author

Thanks very much Djukic

Works like a charm

  • Author

While I am on the subject suposing you want to do the same thing with a list. like

4,5,6,7,8,9,10,11,12 for example

or

red, yellow, orange, green , blue , violet, white , black

for example. I tried to use the case statement you gave me but I couldn't make it work.

Thanks

STan

With a list of numbers such as that, I would just say "Type It" with a list of colors, I would use a Popup Menu (possibly based on a field depending on other needs for the list).

HTH

Lee laugh.gif

Set Field (yourField, case(yourField="red","yellow", yourField="yellow", "orange" , yourField="orange","green", "red" )

Dj

Hi Dj,

I think you know by now, along with all of the other active members of this list, that I'm a BIG fan of calculations.

However, I played with STan's idea and your calculation prior to making my last post, and quickly realized that a calculation used in this manner made no sense. Am I missing something here?

IMO, once you get past 2 or for sure 3, you loose any benefit provided by it.

For instence, what is the advantage of clicking on a field 4 or 5 times to get to a number, or an item to be selected?

How does the user to know how many items are there, what they are, without having to click completely through the list first.

I'm sure there are other reasons, but these would be enough for me to go back to my first recommendations of typing them in, or using a Popup list.

Lee

cool.gif

  • Author

Hi I think that works but I can only get it to work with 3 colors. What if I have 7 colors?

That is what I am trying to find out.

Thanks

Stan

  • Author

to lee

Thanks for y ou answers. your point is well taken. I am chosing this method because they may have to do the clicking on the fly and will be able to say to themselves 4 clicks will get purple and 5 clicks will get me Blue for example. and they will often change their minds so if the clicking cycles it doesn't pull up additional space and time. It is very close to a pop up menu but I actually asked and asked them to try and the preferred the clicking.

T

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.