Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Star rating (like in Bento or iTunes)


This topic is 5184 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I'm trying to indicate rating of the quality or importance of the record by having a field called rating, and ideally, i want it to be a five-star rating system like in Bento. Is there an easy way to do this? If not, I'd rather make it some graphical representation rather than entering an integer value.

Please let me know if star or some other things can be used in FMP, and if not, what people do about it?

Thanks

Edited by Guest
Posted

if you put a value in to a number field 1 - 5 then have another field evaluate the value in a separate calculation: - you can use any cross platform font dingbat...

Choose ( starField ; "" ; ""; "" ; "" ; "" ; "" )

Posted

Thanks, that's a good idea for the display part, but I'd still have to type a number. It'd be nice if I could just click on the star to set the rating... I'm doing this partly for speed of going though many records.

Posted (edited)

Very slick. Thanks comment. Was doing with containers.

Just tested your file xplat with a itunes like 'star'. (see attached)

Wingdings: Works xplat (poss gotcha: don't think wingdings was sys font before leopard (10.5) but installed with IE or MS Office.)

Zaph Digbats: Doesn't seem to work xplat with OSX 10.4. Poss as diff font name across platform? (think addressed in 10.5 still on 10.4 here)

NB: Used FM on XP to apply.

Star_Rating_test.zip

Edited by Guest
added file
Posted

Awesome. Now I try to figure out how this works and incorporate to my database. Is there a way to see how things are connected/programmed in a glance? I'm more used to traditional computer languages (like Ruby, shell script or even C) and not very savvy about the GUI driven stuff... how can I see the "source?"

  • 7 months later...
  • Newbies
Posted

Is it just me or do these buttons not work when viewed using firefox or safari? I tried hosting the sample file and they don't seem to do much but it certainly works when viewed within fm pro.

Thanks!

Posted

I don't think that working in IWP was part of the original brief.

  • 10 months later...
Posted (edited)

This star-rating is exactly what I need.

In my database, I replicated the field, script and conditional formatting.

Alas, I cannot get this to work.

Clicking on any star doesn't change, and it just clears the manually typed rating number from the text field.

I must have missed something....

Edited by Guest
Posted

For those who can't get it to work, it took me a couple of minutes to figure out how it worked... basically there is an invisible button object BEHIND the star symbols that has a script trigger, while the symbols are just dormant responsive conditional formatted objects (i.e. they only react to what the rating value is). It is these invisible buttons that actually change the rating value - they have parameters from 1 to 5. Drag a symbol away and drag-select over the leftover space - you'll see the outline of the invisible box.

Hope this helped.

This topic is 5184 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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