megaptera Posted March 6, 2009 Posted March 6, 2009 (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 March 6, 2009 by Guest
Ocean West Posted March 6, 2009 Posted March 6, 2009 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 ; "" ; ""; "" ; "" ; "" ; "" )
megaptera Posted March 6, 2009 Author Posted March 6, 2009 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.
comment Posted March 6, 2009 Posted March 6, 2009 I have a déjà vu about this, but I can't find the old thread. Anyway, with conditional formatting it should be even simpler now: Star_Rating.fp7.zip
grubber Posted March 6, 2009 Posted March 6, 2009 (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 March 6, 2009 by Guest added file
megaptera Posted March 6, 2009 Author Posted March 6, 2009 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?"
comment Posted March 6, 2009 Posted March 6, 2009 The file is unlocked and open for your inspection (that's a good way to learn, BTW). I make them because it's easier than trying to explain.
krmullins Posted March 12, 2009 Posted March 12, 2009 This was a very impressive sample file. Thanks for posting it!
Newbies excalibur313 Posted October 27, 2009 Newbies Posted October 27, 2009 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!
Vaughan Posted October 27, 2009 Posted October 27, 2009 I don't think that working in IWP was part of the original brief.
macamaca Posted September 8, 2010 Posted September 8, 2010 (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 September 8, 2010 by Guest
feeei Posted September 14, 2010 Posted September 14, 2010 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now